aboutsummaryrefslogtreecommitdiff
path: root/development/golang-googlecode-gotools
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 20:17:08 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:15 -0400
commit9cc768733fc607f5f3ddba22555ff389e027d026 (patch)
treedc8824f52896610a0f59865bf2c563c3496dfecc /development/golang-googlecode-gotools
parent48a6acc0439c1019023ea9f25b9533694ab4e1ef (diff)
development/golang-googlecode-gotools: Change i486 to i586
Diffstat (limited to 'development/golang-googlecode-gotools')
-rw-r--r--development/golang-googlecode-gotools/golang-googlecode-gotools.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/development/golang-googlecode-gotools/golang-googlecode-gotools.SlackBuild b/development/golang-googlecode-gotools/golang-googlecode-gotools.SlackBuild
index e2459704f4da5..6bde6ae5a1c20 100644
--- a/development/golang-googlecode-gotools/golang-googlecode-gotools.SlackBuild
+++ b/development/golang-googlecode-gotools/golang-googlecode-gotools.SlackBuild
@@ -32,7 +32,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -50,8 +50,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"