summaryrefslogtreecommitdiff
path: root/ghc
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 /ghc
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 'ghc')
-rw-r--r--ghc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/ghc/Makefile b/ghc/Makefile
index 29ca7a821b..ed7d24b643 100644
--- a/ghc/Makefile
+++ b/ghc/Makefile
@@ -83,6 +83,7 @@ CONFIGURE_FLAGS_STAGE3 = $(CONFIGURE_FLAGS_STAGE2PLUS)
CONFIGURE_FLAGS_STAGE1 += $(USE_BOOT_CONFIGURE_FLAGS)
CONFIGURE_FLAGS_STAGE2 += $(USE_STAGE1_CONFIGURE_FLAGS)
CONFIGURE_FLAGS_STAGE3 += $(USE_STAGE2_CONFIGURE_FLAGS)
+CONFIGURE_FLAGS_STAGE3 += --package-db $(STAGE3_PACKAGE_CONF)
CONFIGURE_FLAGS_STAGE1 += $(foreach flag, $(GhcStage1HcOpts), --ghc-option=$(flag))
CONFIGURE_FLAGS_STAGE2 += $(foreach flag, $(GhcStage2HcOpts), --ghc-option=$(flag))