summaryrefslogtreecommitdiff
path: root/compiler/ghc.mk
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2013-10-08 16:58:24 +0100
committerSimon Marlow <marlowsd@gmail.com>2013-10-11 10:37:01 +0100
commitb9c6fd72cd8a00e7c3604567fc4170a3f6421d71 (patch)
tree92fc9e9da7944dd4189ac4dbd3bf2e1241f5a1aa /compiler/ghc.mk
parent996206b15aa1d4e6d203934484b9076c4c8e1032 (diff)
downloadhaskell-b9c6fd72cd8a00e7c3604567fc4170a3f6421d71.tar.gz
Use dynamic linking only if the GHC package is compiled with -dynamic (#8376)
Diffstat (limited to 'compiler/ghc.mk')
-rw-r--r--compiler/ghc.mk6
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/ghc.mk b/compiler/ghc.mk
index 810b11a287..a5a20345a1 100644
--- a/compiler/ghc.mk
+++ b/compiler/ghc.mk
@@ -111,12 +111,6 @@ ifeq "$(UseLibFFIForAdjustors)" "YES"
else
@echo 'cLibFFI = False' >> $@
endif
- @echo 'cDYNAMIC_GHC_PROGRAMS :: Bool' >> $@
-ifeq "$(DYNAMIC_GHC_PROGRAMS)" "YES"
- @echo 'cDYNAMIC_GHC_PROGRAMS = True' >> $@
-else
- @echo 'cDYNAMIC_GHC_PROGRAMS = False' >> $@
-endif
# Note that GhcThreaded just reflects the Makefile variable setting.
# In particular, the stage1 compiler is never actually compiled with
# -threaded, but it will nevertheless have cGhcThreaded = True.