]> gitweb @ CieloNegro.org - pkgsrc-ghc.git/blob - files/bootstrap-bsd.mk
ghc-7.4.1 for x86_64-unknown-linux
[pkgsrc-ghc.git] / files / bootstrap-bsd.mk
1 OMIT_PHASE_0 = YES
2 OMIT_PHASE_1 = YES
3 GHC = false
4 GHC_STAGE1 =
5 GHC_PKG_INPLACE =
6 GHC_CABAL_INPLACE =
7 DUMMY_GHC_INPLACE =
8 UNLIT =
9 NO_INCLUDE_DEPS = YES
10 GhcUnregisterised = YES
11 GhcLibWays = v
12 GhcRTSWays =
13 SplitObjs = NO
14 GhcWithNativeCodeGen = NO
15 GhcWithInterpreter = NO
16 GhcWithSMP = 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
19
20 SRC_CC_OPTS += -I[[PREFIX]]/include
21 INTEGER_LIBRARY = integer-simple
22
23 #   Unregisterised stage0 compiler gets too large (.text section being
24 # over 64 MiB) without -Os, exceeding NetBSD/i386's kernel default
25 # limitation.
26 #   Note that stage1 currently doesn't bloat that much (about 42.6
27 # MiB), but when it does we have to append CONF_CC_OPTS_STAGE0="-Os"
28 # to CONFIGURE_ARGS as well. I guess that's a matter of time :(
29 EXTRA_CC_OPTS += -Os