aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 20:46:03 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:33 -0400
commit86527488e0b435fc476309b92bc4b1605fac528b (patch)
tree4257ec3e828341bba8bb763c5096ef4456fed6f3
parent6ac1d078722648a27aa34f83bf604b01b9a44506 (diff)
network/wrk: Change i486 to i586
-rw-r--r--network/wrk/wrk.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/network/wrk/wrk.SlackBuild b/network/wrk/wrk.SlackBuild
index 871ed265b707..157d1a326c0b 100644
--- a/network/wrk/wrk.SlackBuild
+++ b/network/wrk/wrk.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"