From 55a2e36cbc6ebde5d52601c864bc268bd568609a Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Sun, 25 Jul 2010 22:20:47 +0100 Subject: x86: Add -fno-exceptions to list of possibly-supported CFLAGS for embedded targets. Signed-off-by: Keir Fraser --- stubdom/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'stubdom/Makefile') 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') -- cgit v1.2.3