Remove long rotted configure support for Windows DLLs
[ghc-hetmet.git] / mk / validate-settings.mk
1 # DO NOT EDIT!  Instead, create a file mk/validate.mk, whose settings will
2 # override these.  See also mk/custom-settings.mk.
3
4 WERROR          = -Werror
5
6 HADDOCK_DOCS    = YES
7 SRC_CC_OPTS     += -Wall $(WERROR)
8 SRC_HC_OPTS     += -Wall $(WERROR) -H64m -O0 -fasm
9
10 GhcStage1HcOpts += -O -fasm
11
12 GhcStage2HcOpts += -O -fasm
13 # Using -O (rather than -O0) here bringes my validate down from 22mins to 16 mins.
14 # Compiling stage2 takes longer, but we gain a faster haddock, faster
15 # running of the tests, and faster building of the utils to be installed
16
17 GhcLibHcOpts    += -O -fasm -dcore-lint
18 GhcLibWays     := $(filter v dyn,$(GhcLibWays))
19 SplitObjs       = NO
20 NoFibWays       =
21 STRIP           = :
22
23 CHECK_PACKAGES = YES
24
25 ifeq "$(ValidateHpc)" "YES"
26 GhcStage2HcOpts += -fhpc -hpcdir $(TOP)/testsuite/hpc_output/
27 endif
28 ifeq "$(ValidateSlow)" "YES"
29 GhcStage2HcOpts += -XGenerics -DDEBUG
30 GhcLibHcOpts    += -XGenerics
31 endif
32
33 # Temporarily turn off unused-do-bind warnings for the time package
34 libraries/time_dist-install_EXTRA_HC_OPTS += -fno-warn-unused-do-bind
35 # On Windows, there are also some unused import warnings
36 libraries/time_dist-install_EXTRA_HC_OPTS += -fno-warn-unused-imports
37
38 libraries/haskeline_dist-install_EXTRA_HC_OPTS += -fno-warn-unused-imports
39
40 # Temporarily turn off unused-import warnings for the binary package
41 libraries/binary_dist-boot_EXTRA_HC_OPTS += -fno-warn-unused-imports
42 libraries/binary_dist-install_EXTRA_HC_OPTS += -fno-warn-unused-imports