]> gitweb @ CieloNegro.org - pkgsrc-ghc.git/commitdiff
files/bootstrap-bsd.mk: fix dead-code elimination
authorPHO <pho@cielonegro.org>
Sat, 3 Mar 2012 05:26:08 +0000 (14:26 +0900)
committerPHO <pho@cielonegro.org>
Sat, 3 Mar 2012 05:26:08 +0000 (14:26 +0900)
files/bootstrap-bsd.mk

index 594217884315cbc582ca14edf41c48a348f603ee..fdf7056fe6e603294cd871c6cf58cd9f7c7f973d 100644 (file)
@@ -28,5 +28,5 @@ INTEGER_LIBRARY = integer-simple
 # CONF_CC_OPTS_STAGE1="-fdata..." and
 # CONF_GCC_LINKER_OPTS_STAGE1="-Wl,--gc-sections" to CONFIGURE_ENV as
 # well. I guess that's a matter of time :(
-ghc_stage2_v_ALL_CC_OPTS += -fdata-sections -ffunction-sections
-ghc_stage2_v_EXTRA_CC_OPTS += -Wl,--gc-sections
+EXTRA_CC_OPTS += -fdata-sections -ffunction-sections
+EXTRA_CC_OPTS += -Wl,--gc-sections