aboutsummaryrefslogtreecommitdiff
path: root/network/tunctl
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 20:46:01 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:32 -0400
commit7a3b311666421958a9bc3c9dbbab03631f22c85f (patch)
treee26673a71550787d78fafae2ee16e1b1fb22810b /network/tunctl
parent29e0880ac39e7d6cd66785a8e4d81b9e60a3dc89 (diff)
network/tunctl: Change i486 to i586
Diffstat (limited to 'network/tunctl')
-rw-r--r--network/tunctl/tunctl.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/network/tunctl/tunctl.SlackBuild b/network/tunctl/tunctl.SlackBuild
index d85532646edd..27818f6f2b9e 100644
--- a/network/tunctl/tunctl.SlackBuild
+++ b/network/tunctl/tunctl.SlackBuild
@@ -14,7 +14,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
@@ -32,8 +32,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"