From: Ian Lynagh Date: Sun, 13 Mar 2011 14:03:22 +0000 (+0000) Subject: Stop explicitly asking for 10.5 support on OS X; fixes #5011 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;ds=sidebyside;h=6c073daacc2c44e218411e874c2eec9d53851d72;p=ghc-hetmet.git 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. --- 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