summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2016-01-27 00:08:53 +0100
committerThomas Miedema <thomasmiedema@gmail.com>2016-01-27 01:56:42 +0100
commite2bdf03a63b09feabee76e2efd33eb56739324ac (patch)
treea69e148c6ebabb8670ff7a4ded20b1021719bfd3 /mk
parenteeb67c9b833d95fa69932c34a3175054dacb83e2 (diff)
downloadhaskell-e2bdf03a63b09feabee76e2efd33eb56739324ac.tar.gz
Build profiling libraries on `validate --slow` (#11496)
Diffstat (limited to 'mk')
-rw-r--r--mk/flavours/validate.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/flavours/validate.mk b/mk/flavours/validate.mk
index 0bb7b92398..94892d465f 100644
--- a/mk/flavours/validate.mk
+++ b/mk/flavours/validate.mk
@@ -17,8 +17,12 @@ ifeq "$(ValidateSpeed)" "SLOW"
GhcStage2HcOpts += -DDEBUG
endif
+ifeq "$(ValidateSpeed)" "SLOW"
+BUILD_PROF_LIBS = YES
+endif
+
ifneq "$(ValidateSpeed)" "FAST"
-BUILD_EXTRA_PKGS=YES
+BUILD_EXTRA_PKGS = YES
endif
WERROR = -Werror