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