68d32f31e2
Some of the highlights include opt-in support for TLS 1.3, improved modules support (in preparation for being the default in Go 1.13), support for windows/arm, and improved macOS & iOS forwards compatibility. See https://blog.golang.org/go1.12. In pkgsrc, this is _not_ the default version for Go package builds just yet.
16 lines
552 B
Bash
16 lines
552 B
Bash
$NetBSD: patch-misc_io_clangwrap.sh,v 1.1 2019/03/09 09:29:30 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
|