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
This commit is contained in:
parent
6adfaa690c
commit
1d129fe2db
|
@ -91,7 +91,7 @@ $(CC) $(1) -S -xc /dev/null -o "$$TMP", $(1), $(2))
|
||||||
STACKPROTECT += $(call cc-option, -fno-stack-protector,)
|
STACKPROTECT += $(call cc-option, -fno-stack-protector,)
|
||||||
|
|
||||||
# TODO: Re-add -Os as soon as we find out why it caused problems.
|
# 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
|
all: lib
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue