From: PHO Date: Sat, 3 Mar 2012 05:26:08 +0000 (+0900) Subject: files/bootstrap-bsd.mk: fix dead-code elimination X-Git-Tag: GHC-7.4.1~2^2~2 X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=pkgsrc-ghc.git;a=commitdiff_plain;h=9ac7c6d019018c0211c136c8cd27063699ff92af files/bootstrap-bsd.mk: fix dead-code elimination --- diff --git a/files/bootstrap-bsd.mk b/files/bootstrap-bsd.mk index 5942178..fdf7056 100644 --- a/files/bootstrap-bsd.mk +++ b/files/bootstrap-bsd.mk @@ -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