aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/Rules.mk
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-07-25 22:20:47 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-07-25 22:20:47 +0100
commit55a2e36cbc6ebde5d52601c864bc268bd568609a (patch)
tree0343089864e558c1e3c90200559220d036ff033b /xen/arch/x86/Rules.mk
parent8fc69686f5b6800181912b3e3dfb2559508d3f6b (diff)
downloadxen-55a2e36cbc6ebde5d52601c864bc268bd568609a.tar.gz
xen-55a2e36cbc6ebde5d52601c864bc268bd568609a.tar.bz2
xen-55a2e36cbc6ebde5d52601c864bc268bd568609a.zip
x86: Add -fno-exceptions to list of possibly-supported CFLAGS for embedded targets.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/arch/x86/Rules.mk')
-rw-r--r--xen/arch/x86/Rules.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/xen/arch/x86/Rules.mk b/xen/arch/x86/Rules.mk
index d97cea4777..d8663a6184 100644
--- a/xen/arch/x86/Rules.mk
+++ b/xen/arch/x86/Rules.mk
@@ -25,10 +25,7 @@ CFLAGS += -I$(BASEDIR)/include/asm-x86/mach-default
# Prevent floating-point variables from creeping into Xen.
CFLAGS += -msoft-float
-# Disable PIE/SSP if GCC supports them. They can break us.
-$(call cc-option-add,CFLAGS,CC,-nopie)
-$(call cc-option-add,CFLAGS,CC,-fno-stack-protector)
-$(call cc-option-add,CFLAGS,CC,-fno-stack-protector-all)
+$(call cc-options-add,CFLAGS,CC,$(EMBEDDED_EXTRA_CFLAGS))
ifeq ($(supervisor_mode_kernel),y)
CFLAGS += -DCONFIG_X86_SUPERVISOR_MODE_KERNEL=1