~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
termux-tools: reload-style -> reload-settings
[termux-packages]
/
packages
/
golang
/
build.sh
diff --git
a/packages/golang/build.sh
b/packages/golang/build.sh
index
ad7d262
..
311757b
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