From: Jay Freeman (saurik) Date: Sat, 27 Jun 2015 04:23:23 +0000 (-0700) Subject: Older versions of Apple's compiler give me errors. X-Git-Tag: v1.2.0~2 X-Git-Url: https://git.saurik.com/ldid.git/commitdiff_plain/69d2fe543d02b8bc667a762ba67f6b4c0371d3e8?hp=c7063c2b3fd0d43c3c07675fc5e0b8d671fa133a Older versions of Apple's compiler give me errors. --- diff --git a/make.sh b/make.sh index cbbfbb0..4ab6acf 100755 --- a/make.sh +++ b/make.sh @@ -2,6 +2,8 @@ set -e +sudo xcode-select --switch /Applications/Xcode-5.1.1.app + if which xcrun &>/dev/null; then flags=(xcrun -sdk macosx g++) flags+=(-mmacosx-version-min=10.4)