summaryrefslogtreecommitdiff
path: root/mk/vars.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-23 20:44:22 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-23 20:44:22 +0100
commita0ad2f92a9133af67883899615eeb760f47f8bff (patch)
treea995b2811d88bc942105fe5b709bc349513401c7 /mk/vars.mk
parent6212b234c5d64e152e5ba8f86f66dc72ea1794c3 (diff)
make optimiztion compiler flags configurable, default -Os -pipe
Diffstat (limited to 'mk/vars.mk')
-rw-r--r--mk/vars.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index f22717c2e..4bdd4ae9f 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -127,7 +127,7 @@ ifneq ($(ADK_DEBUG),)
TARGET_CFLAGS+= -g3 -fno-omit-frame-pointer
else
TARGET_CPPFLAGS+= -DNDEBUG
-TARGET_CFLAGS+= -fomit-frame-pointer $(TARGET_OPTIMIZATION)
+TARGET_CFLAGS+= -fomit-frame-pointer $(ADK_TARGET_CFLAGS_OPT)
# stop generating eh_frame stuff
TARGET_CFLAGS+= -fno-unwind-tables -fno-asynchronous-unwind-tables
# always add debug information