summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2012-12-18 09:26:33 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2012-12-18 09:26:33 +0100
commit6ec39039964f027dc7b2040588f089823a527657 (patch)
tree7dd621fcabc77471c76bfe110e7737f515362337
parentaa7a8349cf882da62148580f0e6399aa3e1f112b (diff)
u-boot: compile with -O2, some compilers can't cope with -Os
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 5ee6c783a8c..752b85e19bb 100644
--- a/config.mk
+++ b/config.mk
@@ -167,7 +167,7 @@ ARFLAGS = crv
endif
RELFLAGS= $(PLATFORM_RELFLAGS)
DBGFLAGS= -g # -DDEBUG
-OPTFLAGS= -Os #-fomit-frame-pointer
+OPTFLAGS= -O2 #-fomit-frame-pointer
ifdef VBOOT_DEBUG
DBGFLAGS += -DVBOOT_DEBUG