From 1f3a7730cd7f831344d2a3b74a0ce700c382e858 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Fri, 3 Oct 2008 14:02:16 +0000 Subject: Use an extensible-exceptions package when bootstrapping Ifdefs for whether we had extensible exceptions or not were spreading through GHC's source, and things would only have got worse for the next 2-3 years, so instead we now use an implementation of extensible exceptions built on top of the old exception type. --- libraries/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libraries') diff --git a/libraries/Makefile b/libraries/Makefile index 43220f6854..01dd45b8ef 100644 --- a/libraries/Makefile +++ b/libraries/Makefile @@ -135,6 +135,10 @@ cabal-bin: cabal-bin.hs bootstrapping.conf: cabal-bin echo "[]" > $@.tmp + -cd extensible-exceptions && $(CABAL) clean --distpref=dist-bootstrapping + cd extensible-exceptions && $(CABAL) configure --distpref=dist-bootstrapping --with-compiler=$(GHC) --with-hc-pkg=$(GHC_PKG) --package-db=$(HERE_ABS)/$@.tmp + cd extensible-exceptions && $(CABAL) build --distpref=dist-bootstrapping + cd extensible-exceptions && $(CABAL) install --distpref=dist-bootstrapping --inplace -cd filepath && $(CABAL) clean --distpref=dist-bootstrapping cd filepath && $(CABAL) configure --distpref=dist-bootstrapping --with-compiler=$(GHC) --with-hc-pkg=$(GHC_PKG) --package-db=$(HERE_ABS)/$@.tmp cd filepath && $(CABAL) build --distpref=dist-bootstrapping -- cgit v1.2.1