summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.