From 1d129fe2db0b8f7dab253768b8635f4c3c8c0f64 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 26 Aug 2008 11:18:38 +0000 Subject: [PATCH] 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 --- payloads/libpayload/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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