summaryrefslogtreecommitdiffstats
path: root/development/google-go-lang/google-go-lang.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/google-go-lang/google-go-lang.SlackBuild')
-rw-r--r--development/google-go-lang/google-go-lang.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/development/google-go-lang/google-go-lang.SlackBuild b/development/google-go-lang/google-go-lang.SlackBuild
index d76859014d..f9d784498c 100644
--- a/development/google-go-lang/google-go-lang.SlackBuild
+++ b/development/google-go-lang/google-go-lang.SlackBuild
@@ -106,9 +106,9 @@ 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
+case "$ARCH" in
+ arm|i?86) export GOMAXPROCS=1 ;;
+esac
cd src