aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 20:45:55 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:29 -0400
commitf0995d18ace0b8b72f9c2add467fc8042a8ff572 (patch)
tree20f1dea822a043d23bf4d4ab405540b678ff22e7 /network
parent6dec318bf45f79a95434f308a95bed05a4928298 (diff)
network/netperf: Change i486 to i586
Diffstat (limited to 'network')
-rw-r--r--network/netperf/netperf.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/network/netperf/netperf.SlackBuild b/network/netperf/netperf.SlackBuild
index a6cf15afacbb..4f96abb9692e 100644
--- a/network/netperf/netperf.SlackBuild
+++ b/network/netperf/netperf.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=${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"