summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu J. Poirier <mathieu.poirier@linaro.org>2012-02-16 23:25:26 +0000
committerMathieu J. Poirier <mathieu.poirier@linaro.org>2012-02-16 23:25:26 +0000
commitdf549fd1d9cd85edf85a877de11a7f40585e01c4 (patch)
tree2016f2a213540ee22a022d3b8f98a0d5b4f09f8f
parent7cf266d432267d631e9a9f2f903705d2d1972740 (diff)
snowball: android: moved from optimizing for size to optimizing for speed
Optimizing for size with gcc 4.6.x prevents uboot from reaching the cmd line. Removing this optimization solves the problem. Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index cb1c4af97..de01637fa 100644
--- a/config.mk
+++ b/config.mk
@@ -137,7 +137,7 @@ ARFLAGS = crv
endif
RELFLAGS= $(PLATFORM_RELFLAGS)
DBGFLAGS= -g # -DDEBUG
-OPTFLAGS= -Os #-fomit-frame-pointer
+OPTFLAGS= -O2 #-fomit-frame-pointer
ifndef LDSCRIPT
#LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot.lds.debug
ifeq ($(CONFIG_NAND_U_BOOT),y)