summaryrefslogtreecommitdiff
path: root/mk/validate-settings.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/validate-settings.mk')
-rw-r--r--mk/validate-settings.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/validate-settings.mk b/mk/validate-settings.mk
index 0516be8f56..86bb73ed60 100644
--- a/mk/validate-settings.mk
+++ b/mk/validate-settings.mk
@@ -27,7 +27,11 @@ GhcStage2HcOpts += -O -fwarn-tabs -dcore-lint
# running of the tests, and faster building of the utils to be installed
GhcLibHcOpts += -O -dcore-lint
+ifeq "$(ValidateSpeed)" "FAST"
+GhcLibWays := v
+else
GhcLibWays := $(filter v dyn,$(GhcLibWays))
+endif
SplitObjs = NO
NoFibWays =
STRIP_CMD = :
@@ -47,7 +51,7 @@ BUILD_DOCBOOK_PDF = NO
ifeq "$(ValidateHpc)" "YES"
GhcStage2HcOpts += -fhpc -hpcdir $(TOP)/testsuite/hpc_output/
endif
-ifeq "$(ValidateSlow)" "YES"
+ifeq "$(ValidateSpeed)" "SLOW"
GhcStage2HcOpts += -DDEBUG
endif