Require HsColour by default
[ghc-hetmet.git] / mk / validate-settings.mk
1
2 WERROR          = -Werror
3
4 HADDOCK_DOCS    = YES
5 HSCOLOUR_SRCS   = YES
6 SRC_CC_OPTS     = $(WERROR)
7 SRC_HC_OPTS     = $(WERROR) -H64m -O0 -fasm
8 GhcStage1HcOpts = -O -fasm
9
10 GhcStage2HcOpts = -O -fasm
11 # Using -O (rather than -O0) here bringes my validate down from 22mins to 16 mins.
12 # Compiling stage2 takes longer, but we gain a faster haddock, faster
13 # running of the tests, and faster building of the utils to be installed
14
15 GhcLibHcOpts    = -O -fasm -dcore-lint
16 GhcLibWays      =
17 SplitObjs       = NO
18 NoFibWays       =
19 STRIP           = :
20 GhcBootLibs     = YES
21
22 ifeq "$(ValidateHpc)" "YES"
23 GhcStage2HcOpts += -fhpc -hpcdir $(FPTOOLS_TOP_ABS)/testsuite/hpc_output/
24 endif
25 ifeq "$(ValidateSlow)" "YES"
26 GhcStage2HcOpts += -XGenerics -DDEBUG
27 GhcLibHcOpts    += -XGenerics
28 endif
29