summaryrefslogtreecommitdiff
path: root/compiler/Makefile
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 /compiler/Makefile
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 'compiler/Makefile')
-rw-r--r--compiler/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/Makefile b/compiler/Makefile
index fd6afb1c35..de9ce9addd 100644
--- a/compiler/Makefile
+++ b/compiler/Makefile
@@ -188,6 +188,7 @@ CONFIGURE_FLAGS_STAGE3 = $(CONFIGURE_FLAGS_STAGE2)
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)
# In a source dist we don't need to worry about Parser.y(.pp) as we have
# the .hs file pre-generated