aboutsummaryrefslogtreecommitdiffstats
path: root/xen/Rules.mk
diff options
context:
space:
mode:
authorTim Deegan <tim@xen.org>2013-08-15 11:20:48 +0100
committerTim Deegan <tim@xen.org>2013-08-15 16:38:41 +0100
commitf5a54e9235a72b6f371c522d16ca2e74c25896cf (patch)
treeb5a9508d3b413d6c8afbf501b4270c7a77d68736 /xen/Rules.mk
parentab7f9a793c78dfea81c037b34b0dd2db7070d8f8 (diff)
downloadxen-f5a54e9235a72b6f371c522d16ca2e74c25896cf.tar.gz
xen-f5a54e9235a72b6f371c522d16ca2e74c25896cf.tar.bz2
xen-f5a54e9235a72b6f371c522d16ca2e74c25896cf.zip
xen: move some arch CFLAGS into the common Rules.mk.
These are the same on all current architectures, so move them into xen/Rules.mk. Lay them out a little more neatly too. Signed-off-by: Tim Deegan <tim@xen.org> Reviewed-by: Jan Beulich <jbeulich@suse.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/Rules.mk')
-rw-r--r--xen/Rules.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/xen/Rules.mk b/xen/Rules.mk
index 26e5bb6ce1..c432ad6f6d 100644
--- a/xen/Rules.mk
+++ b/xen/Rules.mk
@@ -41,6 +41,10 @@ ALL_OBJS-y += $(BASEDIR)/xsm/built_in.o
ALL_OBJS-y += $(BASEDIR)/arch/$(TARGET_ARCH)/built_in.o
ALL_OBJS-$(x86) += $(BASEDIR)/crypto/built_in.o
+CFLAGS-y += -fno-builtin -fno-common
+CFLAGS-y += -Werror -Wredundant-decls -Wno-pointer-arith
+CFLAGS-y += -pipe
+CFLAGS-y += -iwithprefix include
CFLAGS-y += -g -D__XEN__ -include $(BASEDIR)/include/xen/config.h
CFLAGS-$(XSM_ENABLE) += -DXSM_ENABLE
CFLAGS-$(FLASK_ENABLE) += -DFLASK_ENABLE -DXSM_MAGIC=0xf97cff8c