X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=mk%2Fconfig.mk.in;h=b241dc946aa0efe80257ef7306a48415b81b1eac;hb=f9ad735f0b8a3262b273b8d126a65b4caf4d64f5;hp=5283f6679166bc060569cbf533cee56cdb801893;hpb=7230143f1621149febbebcd5447aecd2d93d1464;p=ghc-hetmet.git diff --git a/mk/config.mk.in b/mk/config.mk.in index 5283f66..b241dc9 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -557,6 +557,7 @@ datadir0 := @datadir@ libdir0 := @libdir@ includedir := @includedir@ mandir := @mandir@ +dynlibdir := @libdir@ ifeq "$(RelocatableBuild)" "YES" @@ -855,9 +856,14 @@ NHC = @NHC@ # tree). We can refer to "this ghc" as $(GHC_INPLACE): GHC_INPLACE = $(GHC_COMPILER_DIR)/ghc-inplace -GHC_STAGE1 = $(GHC_COMPILER_DIR)/stage1/ghc-inplace -GHC_STAGE2 = $(GHC_COMPILER_DIR)/stage2/ghc-inplace -GHC_STAGE3 = $(GHC_COMPILER_DIR)/stage3/ghc-inplace +GHC_STAGE1 = $(GHC_COMPILER_DIR)/stage1/ghc-inplace -no-user-package-conf +GHC_STAGE2 = $(GHC_COMPILER_DIR)/stage2/ghc-inplace -no-user-package-conf +GHC_STAGE3 = $(GHC_COMPILER_DIR)/stage3/ghc-inplace -no-user-package-conf + +# NOTE: add -no-user-package-conf for stage 1-3 above, so that +# we avoid picking up any packages the user might happen to have +# installed for this GHC version. They are bound to be incompatible +# with the packages we built in the tree. ifneq "$(findstring YES, $(UseStage1) $(BootingFromHc))" ""