From 9ac7c6d019018c0211c136c8cd27063699ff92af Mon Sep 17 00:00:00 2001 From: PHO Date: Sat, 3 Mar 2012 14:26:08 +0900 Subject: [PATCH] files/bootstrap-bsd.mk: fix dead-code elimination --- files/bootstrap-bsd.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.40.0