1 # DO NOT EDIT! Instead, create a file mk/validate.mk, whose settings will
2 # override these. See also mk/custom-settings.mk.
7 SRC_CC_OPTS += -Wall $(WERROR)
8 SRC_HC_OPTS += -Wall $(WERROR) -H64m -O0 -fasm
10 # Temporary hack until we fix the libraries. See #3263 for details.
11 GhcLibHcOpts += -fno-warn-unused-do-bind
13 GhcStage1HcOpts += -O -fasm
15 GhcStage2HcOpts += -O -fasm
16 # Using -O (rather than -O0) here bringes my validate down from 22mins to 16 mins.
17 # Compiling stage2 takes longer, but we gain a faster haddock, faster
18 # running of the tests, and faster building of the utils to be installed
20 GhcLibHcOpts += -O -fasm -dcore-lint
26 ifeq "$(ValidateHpc)" "YES"
27 GhcStage2HcOpts += -fhpc -hpcdir $(TOP)/testsuite/hpc_output/
29 ifeq "$(ValidateSlow)" "YES"
30 GhcStage2HcOpts += -XGenerics -DDEBUG
31 GhcLibHcOpts += -XGenerics