[coreboot] r3537 - trunk/payloads/libpayload

svn at coreboot.org svn at coreboot.org
Tue Aug 26 13:18:38 CEST 2008


Author: stepan
Date: 2008-08-26 13:18:38 +0200 (Tue, 26 Aug 2008)
New Revision: 3537

Modified:
   trunk/payloads/libpayload/Makefile
Log:
How could -ffreestanding slip through here. Required because libpayload is not
going to run under an OS. (trivial)

Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>



Modified: trunk/payloads/libpayload/Makefile
===================================================================
--- trunk/payloads/libpayload/Makefile	2008-08-25 17:02:09 UTC (rev 3536)
+++ trunk/payloads/libpayload/Makefile	2008-08-26 11:18:38 UTC (rev 3537)
@@ -91,7 +91,7 @@
 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
 





More information about the coreboot mailing list