1
0
mirror of https://github.com/golang/go synced 2024-11-26 14:26:51 -07:00

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 <crawshaw@golang.org>
This commit is contained in:
Koichi Shiraishi 2016-12-21 15:50:26 +09:00 committed by David Crawshaw
parent 8599c0da1f
commit 0ef4815150

View File

@ -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 "$@"