From 408c4e1784a35ce9c2920e7cf17d78450515b1d2 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 27 Mar 2008 19:11:44 +0000 Subject: 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 Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3190 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- payloads/libpayload/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'payloads') diff --git a/payloads/libpayload/Makefile b/payloads/libpayload/Makefile index aa3f07d639..92bef99a84 100644 --- a/payloads/libpayload/Makefile +++ b/payloads/libpayload/Makefile @@ -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) -- cgit v1.2.3