Explorar el Código

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

Waldemar Brodkorb hace 12 años
padre
commit
08f64b87c0
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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