diff options
author | Ian Lynagh <igloo@earth.li> | 2011-03-13 14:03:22 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-03-13 14:03:22 +0000 |
commit | 6c073daacc2c44e218411e874c2eec9d53851d72 (patch) | |
tree | 8b8459ff42f59b1b9bcb255c7889e2086b1e1037 | |
parent | fc94442b9506c94b410674bf6ea6a301f105be24 (diff) | |
download | haskell-6c073daacc2c44e218411e874c2eec9d53851d72.tar.gz |
Stop explicitly asking for 10.5 support on OS X; fixes #5011
XCode 4 doesn't include the 10.5 SDK, so if we explicitly ask for it
then linking fails.
-rw-r--r-- | aclocal.m4 | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index 1db95cf6b8..691fd457a1 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 |