From: Stefan Reinauer Date: Tue, 26 Aug 2008 11:18:38 +0000 (+0000) Subject: How could -ffreestanding slip through here. Required because libpayload is not X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=1d129fe2db0b8f7dab253768b8635f4c3c8c0f64;p=coreboot.git How could -ffreestanding slip through here. Required because libpayload is not going to run under an OS. (trivial) Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3537 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- diff --git a/payloads/libpayload/Makefile b/payloads/libpayload/Makefile index b862f8da0..1c3a461d2 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