diff options
author | Ian Lynagh <igloo@earth.li> | 2009-02-21 15:15:30 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-02-21 15:15:30 +0000 |
commit | a196ef836e60e20714fd3e6bc9003979d6e5a139 (patch) | |
tree | 6acf390b638f52ee4ea19e47b815b4b08a7f97bd /ghc | |
parent | 70b761657f7707075302d7fa9f1ddba41247539e (diff) | |
download | haskell-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/Makefile | 1 |
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)) |