summaryrefslogtreecommitdiff
path: root/mk/cabal-flags.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-02-21 15:15:30 +0000
committerIan Lynagh <igloo@earth.li>2009-02-21 15:15:30 +0000
commita196ef836e60e20714fd3e6bc9003979d6e5a139 (patch)
tree6acf390b638f52ee4ea19e47b815b4b08a7f97bd /mk/cabal-flags.mk
parent70b761657f7707075302d7fa9f1ddba41247539e (diff)
downloadhaskell-a196ef836e60e20714fd3e6bc9003979d6e5a139.tar.gz
Only use STAGE3_PACKAGE_CONF for building GHC itself
In particular, when building dph with the stage2 compiler, we want to register it in the main package.conf.
Diffstat (limited to 'mk/cabal-flags.mk')
-rw-r--r--mk/cabal-flags.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/mk/cabal-flags.mk b/mk/cabal-flags.mk
index a58158207d..253a1e3f1f 100644
--- a/mk/cabal-flags.mk
+++ b/mk/cabal-flags.mk
@@ -89,8 +89,7 @@ USE_STAGE1_CONFIGURE_FLAGS = \
USE_STAGE2_CONFIGURE_FLAGS = \
--with-compiler=$(GHC_STAGE2) \
- $(USE_STAGE_CONFIGURE_FLAGS) \
- --package-db $(STAGE3_PACKAGE_CONF)
+ $(USE_STAGE_CONFIGURE_FLAGS)
BUILD_FLAGS = $(addprefix --ghc-option=,$(SRC_HC_OPTS))