diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2013-11-03 14:12:26 +0100 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2013-11-03 14:12:26 +0100 |
commit | 08f64b87c0b6e9a6de7250c616a91830ef447713 (patch) | |
tree | 8b480c365696911f74ce695c239d740f0c6e4a45 | |
parent | 8f1f1fce9b94665d11593f0c6625fb2221d978db (diff) |
optimize code generation, saves space on disk and ram. do not generate eh_frame section in ELF
-rw-r--r-- | mk/vars.mk | 2 |
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 |