[commit: ghc] master: Build statically when using LLVM. (fc9229d)

Geoffrey Mainland gmainlan at microsoft.com
Fri May 31 17:13:40 CEST 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : master

https://github.com/ghc/ghc/commit/fc9229df0835a5a767e337672cf766e971ec871e

>---------------------------------------------------------------

commit fc9229df0835a5a767e337672cf766e971ec871e
Author: Geoffrey Mainland <gmainlan at microsoft.com>
Date:   Fri May 31 16:12:17 2013 +0100

    Build statically when using LLVM.
    
    The LLVM back end does not yet work when building dynamically.

>---------------------------------------------------------------

 mk/build.mk.sample | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/mk/build.mk.sample b/mk/build.mk.sample
index 4a84f8f..7036fad 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 ----------------------------------------





More information about the ghc-commits mailing list