aboutsummaryrefslogtreecommitdiff
path: root/misc/ios
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2020-04-03 12:22:27 -0400
committerAustin Clements <austin@google.com>2020-04-08 18:35:49 +0000
commitf7e6ab44b410ef56bb89da182948a451d3cca34c (patch)
tree9d49b461aff716c2d398e720c9bee93c20e1898e /misc/ios
parentda8591b61c141ca58e4b3eae382d2827006344fd (diff)
downloadgo-f7e6ab44b410ef56bb89da182948a451d3cca34c.tar.gz
go-f7e6ab44b410ef56bb89da182948a451d3cca34c.zip
all: remove scattered remnants of darwin/arm
This removes all conditions and conditional code (that I could find) that depended on darwin/arm. Fixes #35439 (since that only happened on darwin/arm) Fixes #37611. Change-Id: Ia4c32a5a4368ed75231075832b0b5bfb1ad11986 Reviewed-on: https://go-review.googlesource.com/c/go/+/227198 Run-TryBot: Austin Clements <austin@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'misc/ios')
-rwxr-xr-xmisc/ios/clangwrap.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/misc/ios/clangwrap.sh b/misc/ios/clangwrap.sh
index c69a9bf355..5fdbb6db4a 100755
--- a/misc/ios/clangwrap.sh
+++ b/misc/ios/clangwrap.sh
@@ -8,9 +8,7 @@ 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
- CLANGARCH="armv7"
-elif [ "$GOARCH" == "arm64" ]; then
+if [ "$GOARCH" == "arm64" ]; then
CLANGARCH="arm64"
else
echo "unknown GOARCH=$GOARCH" >&2