Sfoglia il codice sorgente

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

Waldemar Brodkorb 12 anni fa
parent
commit
08f64b87c0
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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