Drop -Os in libpayload for now, it causes run-time problems for some
strange reason (broken curses/VGA display, maybe others). It'll be re-enabled when we fixed that. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3190 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
c88b537461
commit
408c4e1784
|
@ -61,7 +61,8 @@ include $(PLATFORM-y) $(BUILD-y)
|
|||
|
||||
INCLUDES := -I./include
|
||||
INCLUDES += -I$(shell $(CC) -print-search-dirs | head -n 1 | cut -d' ' -f2)include
|
||||
CFLAGS := -Wall -Werror -Os -fno-stack-protector -nostdinc $(INCLUDES)
|
||||
# TODO: Re-add -Os as soon as we find out why it caused problems.
|
||||
CFLAGS := -Wall -Werror -fno-stack-protector -nostdinc $(INCLUDES)
|
||||
|
||||
libpayload.a: $(TARGETS-y)
|
||||
$(AR) rc $@ $(TARGETS-y)
|
||||
|
|
Loading…
Reference in New Issue