cc & ld extra flags

Mark Lentczner mark.lentczner at gmail.com
Sun Jun 29 22:39:02 UTC 2014


After some deep investigation (including reading the clang source), turns
out the easiest way is to just set an environment variable for the duration
of the GHC configure/build sequence:

export MACOSX_DEPLOYMENT_TARGET=10.7


​Will "do the right thing" in all contexts throughout the build without
needing to thread command options through.

I've tested this and it works.

It does raise the issue of should set it as far back as 10.6?

- Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20140629/1576331a/attachment.html>


More information about the ghc-devs mailing list