summaryrefslogtreecommitdiff
path: root/utils/ghc-cabal
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-07-16 10:56:54 -0400
committerBen Gamari <ben@smart-cactus.org>2020-07-16 10:56:54 -0400
commitc0979cc53442b3a6202acab9cf164f0a4beea0b7 (patch)
treed08b956887e69f9bd2959f1ac75cc2a2182f9a32 /utils/ghc-cabal
parentae11bdfd98a10266bfc7de9e16b500be220307ac (diff)
parent2143c49273d7d87ee2f3ef1211856d60b1427af1 (diff)
downloadhaskell-c0979cc53442b3a6202acab9cf164f0a4beea0b7.tar.gz
Merge remote-tracking branch 'origin/wip/winio'
Diffstat (limited to 'utils/ghc-cabal')
-rw-r--r--utils/ghc-cabal/ghc.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/ghc-cabal/ghc.mk b/utils/ghc-cabal/ghc.mk
index 381bc53a02..a964e55070 100644
--- a/utils/ghc-cabal/ghc.mk
+++ b/utils/ghc-cabal/ghc.mk
@@ -22,10 +22,11 @@ CABAL_CONSTRAINT := --constraint="Cabal == $(CABAL_DOTTED_VERSION)"
# generate MIN_VERSION_<pkgname>() CPP macros. The generation of those
# macros is triggered by `-hide-all-packages`, so we have to explicitly
# enumerate all packages we need in scope.
+CABAL_BUILD_DEPS := ghc-prim base binary array transformers time containers bytestring deepseq process pretty directory filepath template-haskell
ifeq "$(Windows_Host)" "YES"
-CABAL_BUILD_DEPS := ghc-prim base array transformers time containers bytestring deepseq process pretty directory filepath Win32 template-haskell
+CABAL_BUILD_DEPS += Win32
else
-CABAL_BUILD_DEPS := ghc-prim base array transformers time containers bytestring deepseq process pretty directory filepath unix template-haskell
+CABAL_BUILD_DEPS += unix
endif
ghc-cabal_DIST_BINARY_NAME = ghc-cabal$(exeext0)
@@ -65,7 +66,6 @@ $(ghc-cabal_DIST_BINARY): $(CABAL_LEXER_DEP) utils/ghc-cabal/Main.hs $(TOUCH_DEP
-no-user-package-db \
-Wall -fno-warn-unused-imports -fno-warn-warnings-deprecations \
-DCABAL_VERSION=$(CABAL_VERSION) \
- -DCABAL_PARSEC \
-DBOOTSTRAPPING \
-odir bootstrapping \
-hidir bootstrapping \