3dce73223e
go1.5.2 (released 2015/12/02) includes bug fixes to the compiler, linker, and the mime/multipart, net, and runtime packages. See the Go 1.5.2 milestone on our issue tracker for details. https://github.com/golang/go/issues?q=milestone%3AGo1.5.2
16 lines
552 B
Bash
16 lines
552 B
Bash
$NetBSD: patch-misc_io_clangwrap.sh,v 1.1 2015/12/10 20:04:54 bsiegert Exp $
|
|
|
|
--- misc/ios/clangwrap.sh.orig 2015-12-03 00:52:58.000000000 +0000
|
|
+++ misc/ios/clangwrap.sh
|
|
@@ -8,9 +8,9 @@ export IPHONEOS_DEPLOYMENT_TARGET=5.1
|
|
# cmd/cgo doesn't support llvm-gcc-4.2, so we have to use clang.
|
|
CLANG=`xcrun --sdk $SDK --find clang`
|
|
|
|
-if [ "$GOARCH" == "arm" ]; then
|
|
+if [ "$GOARCH" = "arm" ]; then
|
|
CLANGARCH="armv7"
|
|
-elif [ "$GOARCH" == "arm64" ]; then
|
|
+elif [ "$GOARCH" = "arm64" ]; then
|
|
CLANGARCH="arm64"
|
|
else
|
|
echo "unknown GOARCH=$GOARCH" >&2
|