aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 20:46:01 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:32 -0400
commitcb9afcae283b190d0d3ae0464fb13d9a0d209f6c (patch)
treea3b356cfacfe210b3d1b711738c4e2f55a7c2e1d /network
parentd45385549c0fcc965440dcd7b776b464c878bfdb (diff)
network/toxcore: Change i486 to i586
Diffstat (limited to 'network')
-rw-r--r--network/toxcore/toxcore.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/network/toxcore/toxcore.SlackBuild b/network/toxcore/toxcore.SlackBuild
index 76f476e94e32..25c2b7e80363 100644
--- a/network/toxcore/toxcore.SlackBuild
+++ b/network/toxcore/toxcore.SlackBuild
@@ -34,7 +34,7 @@ DAEMON=${DAEMON:-no}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -52,8 +52,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"