From f5a54e9235a72b6f371c522d16ca2e74c25896cf Mon Sep 17 00:00:00 2001 From: Tim Deegan Date: Thu, 15 Aug 2013 11:20:48 +0100 Subject: 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 Reviewed-by: Jan Beulich Acked-by: Ian Campbell Acked-by: Keir Fraser --- xen/Rules.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xen/Rules.mk') 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 -- cgit v1.2.3