summaryrefslogtreecommitdiff
path: root/payloads/libpayload
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2008-08-26 11:18:38 +0000
committerStefan Reinauer <stepan@openbios.org>2008-08-26 11:18:38 +0000
commit1d129fe2db0b8f7dab253768b8635f4c3c8c0f64 (patch)
tree12c66c7787bbf4c6421631263896fd11b2cb29f0 /payloads/libpayload
parent6adfaa690ce918a35098b2b91028f20298b974aa (diff)
How could -ffreestanding slip through here. Required because libpayload is not
going to run under an OS. (trivial) Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3537 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload')
-rw-r--r--payloads/libpayload/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/Makefile b/payloads/libpayload/Makefile
index b862f8da0f..1c3a461d2d 100644
--- a/payloads/libpayload/Makefile
+++ b/payloads/libpayload/Makefile
@@ -91,7 +91,7 @@ $(CC) $(1) -S -xc /dev/null -o "$$TMP", $(1), $(2))
STACKPROTECT += $(call cc-option, -fno-stack-protector,)
# TODO: Re-add -Os as soon as we find out why it caused problems.
-CFLAGS := -Wall -Werror $(STACKPROTECT) -nostdinc $(INCLUDES)
+CFLAGS := -Wall -Werror $(STACKPROTECT) -nostdinc $(INCLUDES) -ffreestanding
all: lib