summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-11-03 14:12:26 +0100
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-11-03 14:12:26 +0100
commit08f64b87c0b6e9a6de7250c616a91830ef447713 (patch)
tree8b480c365696911f74ce695c239d740f0c6e4a45
parent8f1f1fce9b94665d11593f0c6625fb2221d978db (diff)
optimize code generation, saves space on disk and ram. do not generate eh_frame section in ELF
-rw-r--r--mk/vars.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index 608933052..bb7bd52b9 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -130,6 +130,8 @@ TARGET_CFLAGS+= -g3 -fno-omit-frame-pointer
else
TARGET_CPPFLAGS+= -DNDEBUG
TARGET_CFLAGS+= -fomit-frame-pointer $(TARGET_OPTIMIZATION)
+# stop generating eh_frame stuff
+TARGET_CFLAGS+= -fno-unwind-tables -fno-asynchronous-unwind-tables
endif