aboutsummaryrefslogtreecommitdiff
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
commitf2827ae8b4cd0f91838aba6cff1d5656e30524c3 (patch)
tree05337d394d89b3ca7c4718c1fbef158987f73bcf
parent38afd1b7967923680fe8055901cc88accd015a3c (diff)
network/unicornscan: Change i486 to i586
-rw-r--r--network/unicornscan/unicornscan.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/network/unicornscan/unicornscan.SlackBuild b/network/unicornscan/unicornscan.SlackBuild
index bd42c5a8c6f1e..d6aa2c22eaf2d 100644
--- a/network/unicornscan/unicornscan.SlackBuild
+++ b/network/unicornscan/unicornscan.SlackBuild
@@ -36,7 +36,7 @@ SHORTVER=$(echo $VERSION | sed 's/_.*//')
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -54,8 +54,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"