X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fconfig.mk.in;h=4e61732c0fc292611c86081851118c3871ed2eac;hb=2247d4c49e705ee88f5249368e718c12897fe103;hp=38672af3ec2d774559c29c2f824d3743c001f7d5;hpb=fb89c37912d2aa5f063aa9e3f0c2e7fd0a2b8099;p=ghc-hetmet.git diff --git a/mk/config.mk.in b/mk/config.mk.in index 38672af..4e61732 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -190,12 +190,6 @@ else UseLibFFIForAdjustors=YES endif -ifeq "$(findstring $(HostOS_CPP), darwin)" "" -UseArchivesForGhci = NO -else -UseArchivesForGhci = YES -endif - # On Windows we normally want to make a relocatable bindist, to we # ignore flags like libdir ifeq "$(Windows)" "YES" @@ -472,8 +466,6 @@ ifneq "$(wildcard $(GHC).exe)" "" GHC := $(GHC).exe endif -GhcDir = $(dir $(GHC)) - # Sometimes we want to invoke ghc from the build tree in different # places (eg. it's handy to have a nofib & a ghc build in the same # tree). We can refer to "this ghc" as $(GHC_INPLACE): @@ -503,8 +495,6 @@ GhcMajVersion = @GhcMajVersion@ GhcMinVersion = @GhcMinVersion@ # Keep this in sync with the variables in package-config.mk -ghc_ge_6102 = @ghc_ge_6102@ -ghc_ge_611 = @ghc_ge_611@ ghc_ge_613 = @ghc_ge_613@ # Canonicalised ghc version number, used for easy (integer) version @@ -545,6 +535,9 @@ CONF_CC_OPTS_STAGE2 = @CONF_CC_OPTS_STAGE2@ CONF_LD_OPTS_STAGE0 = @CONF_LD_OPTS_STAGE0@ CONF_LD_OPTS_STAGE1 = @CONF_LD_OPTS_STAGE1@ CONF_LD_OPTS_STAGE2 = @CONF_LD_OPTS_STAGE2@ +CONF_CPP_OPTS_STAGE0 = @CONF_CPP_OPTS_STAGE0@ +CONF_CPP_OPTS_STAGE1 = @CONF_CPP_OPTS_STAGE1@ +CONF_CPP_OPTS_STAGE2 = @CONF_CPP_OPTS_STAGE2@ ifeq "$(TARGETPLATFORM)" "ia64-unknown-linux" CONF_CC_OPTS += -G0