How could -ffreestanding slip through here. Required because libpayload is not
authorStefan Reinauer <stepan@coresystems.de>
Tue, 26 Aug 2008 11:18:38 +0000 (11:18 +0000)
committerStefan Reinauer <stepan@openbios.org>
Tue, 26 Aug 2008 11:18:38 +0000 (11:18 +0000)
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

payloads/libpayload/Makefile

index b862f8da0f8159bfeb3bfadfd6306bb256162a40..1c3a461d2d876fae202042801b16dcb61f3c0d49 100644 (file)
@@ -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