Stop explicitly asking for 10.5 support on OS X; fixes #5011
authorIan Lynagh <igloo@earth.li>
Sun, 13 Mar 2011 14:03:22 +0000 (14:03 +0000)
committerIan Lynagh <igloo@earth.li>
Sun, 13 Mar 2011 14:03:22 +0000 (14:03 +0000)
XCode 4 doesn't include the 10.5 SDK, so if we explicitly ask for it
then linking fails.

aclocal.m4

index 1db95cf..691fd45 100644 (file)
@@ -111,16 +111,6 @@ AC_DEFUN([FPTOOLS_SET_C_LD_FLAGS],
         ;;
     esac
 
         ;;
     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
     # 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