summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2008-03-27 19:11:44 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2008-03-27 19:11:44 +0000
commit408c4e1784a35ce9c2920e7cf17d78450515b1d2 (patch)
tree0410b6bce950d3741c8b8f287ddb78645903b213
parentc88b537461d2af16812a78c6266ac62695900708 (diff)
downloadcoreboot-408c4e1784a35ce9c2920e7cf17d78450515b1d2.tar.xz
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
-rw-r--r--payloads/libpayload/Makefile3
1 files changed, 2 insertions, 1 deletions
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)