chiark
/
gitweb
/
~mdw
/
termux-packages
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e69b142
)
golang: Fix 64-bit builds
author
Fredrik Fornwall
<fredrik@fornwall.net>
Sun, 20 Dec 2015 22:58:20 +0000
(17:58 -0500)
committer
Fredrik Fornwall
<fredrik@fornwall.net>
Sun, 20 Dec 2015 22:58:20 +0000
(17:58 -0500)
packages/golang/build.sh
patch
|
blob
|
blame
|
history
diff --git
a/packages/golang/build.sh
b/packages/golang/build.sh
index ad7d2621b7c1bb51d53cddce09e5d29eb28f0369..311757b2e2cbcfd1e94d102bf5bbd1b0db476a45 100644
(file)
--- a/
packages/golang/build.sh
+++ b/
packages/golang/build.sh
@@
-16,6
+16,10
@@
termux_step_make_install () {
elif [ "$TERMUX_ARCH" = "i686" ]; then
export GOARCH=386
export GO386=sse2
elif [ "$TERMUX_ARCH" = "i686" ]; then
export GOARCH=386
export GO386=sse2
+ elif [ "$TERMUX_ARCH" = "aarch64" ]; then
+ export GOARCH=arm64
+ elif [ "$TERMUX_ARCH" = "x86_64" ]; then
+ export GOARCH=amd64
else
echo "ERROR: Unsupported arch: $TERMUX_ARCH"
exit 1
else
echo "ERROR: Unsupported arch: $TERMUX_ARCH"
exit 1