Skip to content

Commit

Permalink
Build statically when using LLVM.
Browse files Browse the repository at this point in the history
The LLVM back end does not yet work when building dynamically.
  • Loading branch information
Geoffrey Mainland committed May 31, 2013
1 parent 8e51a7a commit fc9229d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mk/build.mk.sample
Expand Up @@ -85,6 +85,9 @@ ifeq "$(PlatformSupportsSharedLibs)" "YES"
GhcLibWays += dyn
endif

DYNAMIC_BY_DEFAULT = NO
DYNAMIC_GHC_PROGRAMS = NO

endif

# -------- A Fast build -------------------------------------------------------
Expand Down Expand Up @@ -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 ----------------------------------------
Expand Down

0 comments on commit fc9229d

Please sign in to comment.