diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2023-01-29 11:07:52 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-02-04 07:20:00 +0700 |
commit | 52f68a66e1225800a5317767e5651a9abe662c7f (patch) | |
tree | 80e000a837ba5c2ba0638b3cce2c3257306f27fc /development/google-go-lang | |
parent | c5df4b49df30949684911eb2c51ced05911d197c (diff) |
development/google-go-lang: Fix build on i?86.
Apply same processor limits when building on i?86 as on arm.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/google-go-lang')
-rw-r--r-- | development/google-go-lang/google-go-lang.SlackBuild | 6 |
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 d76859014dd6d..f9d784498c49d 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 |