diff options
Diffstat (limited to 'development/google-go-lang')
-rw-r--r-- | development/google-go-lang/google-go-lang.SlackBuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/development/google-go-lang/google-go-lang.SlackBuild b/development/google-go-lang/google-go-lang.SlackBuild index 117ddef8b343d..950d9e14466ac 100644 --- a/development/google-go-lang/google-go-lang.SlackBuild +++ b/development/google-go-lang/google-go-lang.SlackBuild @@ -55,7 +55,10 @@ elif [ "$ARCH" = "x86_64" ]; then elif [ "$ARCH" = "arm" ]; then LIBDIRSUFFIX="" GOARCH="arm" - export GOARM="6" # can be '5' as well, to use soft float instead of hardware + export GOARM="7" # can be '5' as well, to use soft float instead of hardware +elif [ "$ARCH" = "aarch64" ]; then + LIBDIRSUFFIX="64" + GOARCH="arm64" else LIBDIRSUFFIX="" GOARCH=386 @@ -119,6 +122,10 @@ export GOROOT="$(pwd)" # The value of GOROOT once the package is installed export GOROOT_FINAL="/usr/lib${LIBDIRSUFFIX}/go${VERSION}/go" +if [ "$ARCH" = "arm" ]; then + export GOMAXPROCS=1 +fi + cd src if [ "x${RUN_TEST}" = "xtrue" ] ; then |