On Tue, Oct 04, 2011 at 06:33:06PM -0700, Mark Lentczner wrote: > > > > I don't know if just > > > > -mmacosx-version-min=10.5 > > > > would (a) produce a GHC that works on 10.5, and (b) work on recent Macs > > too. Unfortunately, I can't test (a). Also, even if it does work now, I > > wouldn't be surprised if it broke in the near future. > > > > Yes, it should. I was planning on testing that tonight. If you let me know > where that line goes, it would keep me from having to go spelunking to find > where to put it.
Putting it back where that patch removed it from ought to work: diff --git a/aclocal.m4 b/aclocal.m4 index 1db95cf..691fd45 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -111,16 +111,6 @@ AC_DEFUN([FPTOOLS_SET_C_LD_FLAGS], ;; esac - case $$1 in - i386-apple-darwin|x86_64-apple-darwin) - # We support back to OS X 10.5 - $2="$$2 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5" - $3="$$3 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5" - $4="$$4 -macosx_version_min 10.5" - $5="$$5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5" - ;; - esac - # If gcc knows about the stack protector, turn it off. # Otherwise the stack-smash handler gets triggered. echo 'int main(void) {return 0;}' > conftest.c Thanks Ian _______________________________________________ Haskell-platform mailing list Haskell-platform@projects.haskell.org http://projects.haskell.org/cgi-bin/mailman/listinfo/haskell-platform