From: Koichi Shiraishi Date: Wed, 21 Dec 2016 06:50:26 +0000 (+0900) Subject: build: fix darwin/arm broken on macOS 10.12 with Xcode 8.0 X-Git-Tag: go1.8rc1~64 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=0ef4815150782a47cde25937349f9c4441b0e78e;p=gostls13.git build: fix darwin/arm broken on macOS 10.12 with Xcode 8.0 Xcode 8.0 has been donen't support the iOS 5 anymore Fixes #18390. Change-Id: Icc97e09424780c610a8fe173d0cf461d76b06da4 Reviewed-on: https://go-review.googlesource.com/34673 Reviewed-by: David Crawshaw --- diff --git a/misc/ios/clangwrap.sh b/misc/ios/clangwrap.sh index 9cad49fe7d..9141c8c447 100755 --- a/misc/ios/clangwrap.sh +++ b/misc/ios/clangwrap.sh @@ -17,4 +17,4 @@ else exit 1 fi -exec $CLANG -arch $CLANGARCH -isysroot $SDK_PATH "$@" +exec $CLANG -arch $CLANGARCH -isysroot $SDK_PATH -mios-version-min=6.0 "$@"