summaryrefslogtreecommitdiff
path: root/compiler/ghc.mk
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-04-02 14:01:19 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2017-04-02 14:12:20 +0100
commit03e34256e2cba964adf6dcdb1682618f26400b3a (patch)
treeae885776f1ecb9e5e64d454e7cde87d74ab3e9ec /compiler/ghc.mk
parentf2b10f35a053e595fd309f523c5e93f619d2ec3a (diff)
downloadhaskell-03e34256e2cba964adf6dcdb1682618f26400b3a.tar.gz
compiler/ghc.mk: fix GhcWithInterpreter=NO build failure
When GhcWithInterpreter=NO is set in mk/build.mk build fails as: $ inplace/bin/dll-split compiler/stage2/build/.depend-v-dyn.haskell "DynFlags" ... Reachable modules from DynFlags out of date Please fix compiler/ghc.mk, or building DLLs on Windows may break (#7780) Extra modules: ByteCodeTypes InteractiveEvalTypes Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'compiler/ghc.mk')
-rw-r--r--compiler/ghc.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/compiler/ghc.mk b/compiler/ghc.mk
index 28b0001805..d5498c4f58 100644
--- a/compiler/ghc.mk
+++ b/compiler/ghc.mk
@@ -441,6 +441,7 @@ compiler_stage2_dll0_MODULES = \
BinFingerprint \
BooleanFormula \
BufWrite \
+ ByteCodeTypes \
Class \
CmdLineParser \
CmmType \
@@ -494,12 +495,13 @@ compiler_stage2_dll0_MODULES = \
HsUtils \
HscTypes \
IOEnv \
- NameCache \
+ NameCache \
Id \
IdInfo \
IfaceSyn \
IfaceType \
- Json \
+ InteractiveEvalTypes \
+ Json \
ToIface \
InstEnv \
Kind \
@@ -564,9 +566,7 @@ compiler_stage2_dll0_MODULES = \
ifeq "$(GhcWithInterpreter)" "YES"
# These files are reacheable from DynFlags
# only by GHCi-enabled code (see #9552)
-compiler_stage2_dll0_MODULES += \
- ByteCodeTypes \
- InteractiveEvalTypes
+compiler_stage2_dll0_MODULES += # none
endif
compiler_stage2_dll0_HS_OBJS = \