10 GhcUnregisterised = YES
14 GhcWithNativeCodeGen = NO
15 GhcWithInterpreter = NO
17 ghc_stage2_v_EXTRA_CC_OPTS += -L[[PREFIX]]/lib -lm -liconv -lutil -lrt
18 utils/ghc-pkg_dist-install_v_EXTRA_CC_OPTS += -L[[PREFIX]]/lib -lm -liconv -lutil -lrt -lncurses
20 SRC_CC_OPTS += -I[[PREFIX]]/include
21 INTEGER_LIBRARY = integer-simple
23 # Unregisterised stage0 compiler gets too large (.text section being
24 # over 64 MiB) without dead-code elimination, exceeding NetBSD/i386's
25 # kernel default limitation.
26 # Note that stage1 currently doesn't bloat that much (about 42.6
27 # MiB), but when it does we have to append
28 # CONF_CC_OPTS_STAGE1="-fdata..." and
29 # CONF_GCC_LINKER_OPTS_STAGE1="-Wl,--gc-sections" to CONFIGURE_ENV as
30 # well. I guess that's a matter of time :(
31 EXTRA_CC_OPTS += -fdata-sections -ffunction-sections
32 EXTRA_CC_OPTS += -Wl,--gc-sections