summaryrefslogtreecommitdiff
path: root/mk/build.mk.sample
diff options
context:
space:
mode:
authorGeoffrey Mainland <gmainlan@microsoft.com>2013-05-31 16:12:17 +0100
committerGeoffrey Mainland <gmainlan@microsoft.com>2013-05-31 16:12:17 +0100
commitfc9229df0835a5a767e337672cf766e971ec871e (patch)
treeef807efb54b25eae50209d763581570fc8a29c6c /mk/build.mk.sample
parent8e51a7ab47ed37fbafbc497a5926227e8dd6a1be (diff)
downloadhaskell-fc9229df0835a5a767e337672cf766e971ec871e.tar.gz
Build statically when using LLVM.
The LLVM back end does not yet work when building dynamically.
Diffstat (limited to 'mk/build.mk.sample')
-rw-r--r--mk/build.mk.sample6
1 files changed, 6 insertions, 0 deletions
diff --git a/mk/build.mk.sample b/mk/build.mk.sample
index 4a84f8fc42..7036fad5f1 100644
--- a/mk/build.mk.sample
+++ b/mk/build.mk.sample
@@ -85,6 +85,9 @@ ifeq "$(PlatformSupportsSharedLibs)" "YES"
GhcLibWays += dyn
endif
+DYNAMIC_BY_DEFAULT = NO
+DYNAMIC_GHC_PROGRAMS = NO
+
endif
# -------- A Fast build -------------------------------------------------------
@@ -133,6 +136,9 @@ BUILD_DOCBOOK_HTML = NO
BUILD_DOCBOOK_PS = NO
BUILD_DOCBOOK_PDF = NO
+DYNAMIC_BY_DEFAULT = NO
+DYNAMIC_GHC_PROGRAMS = NO
+
endif
# -------- Profile the stage2 compiler ----------------------------------------