summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-03-17 13:53:42 +0000
committerIan Lynagh <ian@well-typed.com>2013-03-17 13:53:42 +0000
commit0374cade3d2c08f78f33e1e4c0df1c6340cdea7d (patch)
treeb2acdafc18954d0a52fa82c3a20a987011609d64 /mk
parent84df08debf13562f8a1fc7cd59054aaa9c379294 (diff)
downloadhaskell-0374cade3d2c08f78f33e1e4c0df1c6340cdea7d.tar.gz
Also build the v way when DYNAMIC_GHC_PROGRAMS is YES
Technically we don't need the v way, but with -dynamic-too it's cheap, and having it makes life easier.
Diffstat (limited to 'mk')
-rw-r--r--mk/validate-settings.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/validate-settings.mk b/mk/validate-settings.mk
index f6370e9e4c..9aa824d5bc 100644
--- a/mk/validate-settings.mk
+++ b/mk/validate-settings.mk
@@ -37,8 +37,10 @@ GhcStage2HcOpts += -O -dcore-lint
GhcLibHcOpts += -O -dcore-lint
# We define DefaultFastGhcLibWays in this style so that the value is
-# correct even if the user alters DYNAMIC_GHC_PROGRAMS
-DefaultFastGhcLibWays = $(if $(filter $(DYNAMIC_GHC_PROGRAMS),YES),dyn,v)
+# correct even if the user alters DYNAMIC_GHC_PROGRAMS.
+# Technically we don't need the v way if DYNAMIC_GHC_PROGRAMS is YES,
+# but with -dynamic-too it's cheap, and makes life easier.
+DefaultFastGhcLibWays = $(if $(filter $(DYNAMIC_GHC_PROGRAMS),YES),v dyn,v)
DefaultProfGhcLibWays = $(if $(filter $(GhcProfiled),YES),p,)
ifeq "$(ValidateSpeed)" "FAST"