X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FMakefile;h=d88a82308b220352bede2393d616dd3265566ce7;hb=74d5597ec6069dab0aacb0b7c23d68b54d0f3bb4;hp=db1c31e069067b23a91647758d8fc36d5f6c9fdf;hpb=1f9d5a8835940fa332f2b1b51ff59e0239b5fc3a;p=ghc-hetmet.git diff --git a/rts/Makefile b/rts/Makefile index db1c31e..d88a823 100644 --- a/rts/Makefile +++ b/rts/Makefile @@ -177,6 +177,11 @@ LIB_LD_OPTS = -L$(shell $(GHC_PKG_INPLACE) field base library-dirs | sed -e 's/l endif endif +# Mac OS X: make sure we compile for the right OS version +SRC_CC_OPTS += $(MACOSX_DEPLOYMENT_CC_OPTS) +SRC_HC_OPTS += $(addprefix -optc, $(MACOSX_DEPLOYMENT_CC_OPTS)) +LIB_LD_OPTS += $(addprefix -optl, $(MACOSX_DEPLOYMENT_LD_OPTS)) + # XXX DQ is now the same on all platforms, so get rid of it DQ = \"