diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-07-25 22:20:47 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-07-25 22:20:47 +0100 |
commit | 55a2e36cbc6ebde5d52601c864bc268bd568609a (patch) | |
tree | 0343089864e558c1e3c90200559220d036ff033b /stubdom/Makefile | |
parent | 8fc69686f5b6800181912b3e3dfb2559508d3f6b (diff) | |
download | xen-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 'stubdom/Makefile')
-rw-r--r-- | stubdom/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/stubdom/Makefile b/stubdom/Makefile index e0e8a78b0a..aee3592d70 100644 --- a/stubdom/Makefile +++ b/stubdom/Makefile @@ -58,9 +58,7 @@ CROSS_PREFIX=$(CURDIR)/$(CROSS_ROOT) # Disable PIE/SSP if GCC supports them. They can break us. TARGET_CFLAGS += $(CFLAGS) TARGET_CPPFLAGS += $(CPPFLAGS) -TARGET_CFLAGS += $(call cc-option,$(CC),-nopie,) -TARGET_CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,) -TARGET_CFLAGS += $(call cc-option,$(CC),-fno-stack-protector-all,) +$(call cc-options-add,TARGET_CFLAGS,CC,$(EMBEDDED_EXTRA_CFLAGS)) # Do not use host headers and libs GCC_INSTALL = $(shell LANG=C gcc -print-search-dirs | sed -n -e 's/install: \(.*\)/\1/p') |