summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-10-25 21:09:50 +0100
committerIan Lynagh <ian@well-typed.com>2012-10-25 21:09:50 +0100
commit615268a17a532dc2ec3922ac33f2839ad1f6787c (patch)
treedb76fc331de0a70627987a5e3a456ce695af9f35 /mk
parente0c77c9f0729c105dddc5ce3fc79e117951719ba (diff)
downloadhaskell-615268a17a532dc2ec3922ac33f2839ad1f6787c.tar.gz
Tweak build.mk.sample
Now that we can build dyn-only, we don't need to force DYNAMIC_BY_DEFAULT to NO. We just set GhcLibWays appropriately.
Diffstat (limited to 'mk')
-rw-r--r--mk/build.mk.sample3
1 files changed, 1 insertions, 2 deletions
diff --git a/mk/build.mk.sample b/mk/build.mk.sample
index 6ac5c56b5d..17fb9a1e56 100644
--- a/mk/build.mk.sample
+++ b/mk/build.mk.sample
@@ -30,8 +30,7 @@
# A development build, working on the stage 2 compiler:
#BuildFlavour = devel2
-GhcLibWays = v
-DYNAMIC_BY_DEFAULT = NO
+GhcLibWays = $(if $(filter $(DYNAMIC_BY_DEFAULT),YES),dyn,v)
# Uncomment this to get prettier build output.
# Please use V = 1 when reporting GHC bugs.