From 6c073daacc2c44e218411e874c2eec9d53851d72 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sun, 13 Mar 2011 14:03:22 +0000 Subject: [PATCH] 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. --- aclocal.m4 | 10 ---------- 1 file changed, 10 deletions(-) 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 -- 1.7.10.4