diff options
author | simonmar <unknown> | 2005-09-13 12:50:59 +0000 |
---|---|---|
committer | simonmar <unknown> | 2005-09-13 12:50:59 +0000 |
commit | 5971cecb8634e95278295c8c563bebd9700509e3 (patch) | |
tree | ccc948f1ec4fb6104b381fc5133a4ae6a26abbe8 /ghc/lib/compat/compat.mk | |
parent | 7177663c27f00f7bbeb222f2c92c43d9da0ec308 (diff) | |
download | haskell-5971cecb8634e95278295c8c563bebd9700509e3.tar.gz |
[project @ 2005-09-13 12:50:59 by simonmar]
Never use an installed Cabal package when building GHC (except when
bootstrapping in stages 2 & 3). This insulates us from changes the
user may have made to their Cabal installation.
Diffstat (limited to 'ghc/lib/compat/compat.mk')
-rw-r--r-- | ghc/lib/compat/compat.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ghc/lib/compat/compat.mk b/ghc/lib/compat/compat.mk index c85e6df20f..156f03378e 100644 --- a/ghc/lib/compat/compat.mk +++ b/ghc/lib/compat/compat.mk @@ -10,6 +10,11 @@ SRC_HC_OPTS += -i$(GHC_LIB_COMPAT_DIR) SRC_LD_OPTS += -L$(GHC_LIB_COMPAT_DIR) -lghccompat +# Do *not* use the installed Cabal: +ifeq "$(ghc_ge_603)" "YES" +SRC_HC_OPTS += -ignore-package Cabal +endif + # And similarly for when booting from .hc files: HC_BOOT_LD_OPTS += -L$(GHC_LIB_COMPAT_DIR) HC_BOOT_LIBS += -lghccompat |