summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-08-06 21:25:37 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-08-06 21:25:37 +0200
commit845731aa16461fcb4a53e58e16e6f82e6e1c1bab (patch)
tree3dc6d1cbce701d7a39397a8cb8fbff0ad3aaf03c
parent1fde3eae167f52d6d02ff86845533d8319cf6499 (diff)
do not duplicate optimization cflags
-rw-r--r--mk/vars.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index 0d9c92c95..14d677f40 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -167,8 +167,8 @@ TARGET_CFLAGS+= -funwind-tables -fasynchronous-unwind-tables
TARGET_CXXFLAGS+= -funwind-tables -fasynchronous-unwind-tables
else
TARGET_CPPFLAGS+= -DNDEBUG
-TARGET_CFLAGS+= -fomit-frame-pointer $(ADK_TARGET_CFLAGS_OPT)
-TARGET_CXXFLAGS+= -fomit-frame-pointer $(ADK_TARGET_CFLAGS_OPT)
+TARGET_CFLAGS+= -fomit-frame-pointer
+TARGET_CXXFLAGS+= -fomit-frame-pointer
# stop generating eh_frame stuff
TARGET_CFLAGS+= -fno-unwind-tables -fno-asynchronous-unwind-tables
TARGET_CXXFLAGS+= -fno-unwind-tables -fno-asynchronous-unwind-tables