aboutsummaryrefslogtreecommitdiff
path: root/libraries/libnet
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 21:19:23 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:24:00 -0400
commit7d01f879271b4e805f536558682c149e5ec3dfbf (patch)
treef15179cb5718f5e26ba15e6c475e3f70ce9f56eb /libraries/libnet
parent3d72a83793ee3cc74471b9491f50642c6bef7ebd (diff)
libraries/libnet: Change i486 to i586
Diffstat (limited to 'libraries/libnet')
-rw-r--r--libraries/libnet/libnet.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/libnet/libnet.SlackBuild b/libraries/libnet/libnet.SlackBuild
index 7bbc43dd07b2a..c5deac0d98664 100644
--- a/libraries/libnet/libnet.SlackBuild
+++ b/libraries/libnet/libnet.SlackBuild
@@ -17,7 +17,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
@@ -35,8 +35,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"