X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fconfig.mk.in;h=da5d957f8069d2bd6f12e25f7d8df4751326429d;hb=15575cf8f17fee0fdd3151c5dbb0a0f89b01c708;hp=fc26319e81ea93730788b1cf38d1b807beaeb040;hpb=c222ce6d2dcde7dcef36d95fc225fd65d56bdb63;p=ghc-hetmet.git diff --git a/mk/config.mk.in b/mk/config.mk.in index fc26319..da5d957 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -185,6 +185,11 @@ BootingFromUnregisterisedHc = @BootingFromUnregisterisedHc@ # XMLDocWays= +# Mac OS X deployment target (to cross-compile for older OS versions) +# +MACOS_DEPLOYMENT_VERSION = @MACOS_DEPLOYMENT_VERSION@ +MACOS_DEPLOYMENT_SDK = @MACOS_DEPLOYMENT_SDK@ + ################################################################################ # # Variables that control how the compiler itself is built @@ -864,6 +869,9 @@ GHC_STAGE3 = $(GHC_COMPILER_DIR)/stage3/ghc-inplace -no-user-package-conf # installed for this GHC version. They are bound to be incompatible # with the packages we built in the tree. +ifeq "$(stage)" "2" + UseStage1 = YES +endif ifneq "$(findstring YES, $(UseStage1) $(BootingFromHc))" "" # We are using the stage1 compiler to compile Haskell code, set up