Browse Source

optimize code generation, saves space on disk and ram. do not generate eh_frame section in ELF

Waldemar Brodkorb 12 years ago
parent
commit
08f64b87c0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      mk/vars.mk

+ 2 - 0
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