aboutsummaryrefslogtreecommitdiff
path: root/network/c-toxcore
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 20:45:50 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:26 -0400
commit47c0857f20ea35eb8293df708affcae84788bc93 (patch)
tree52427fac1c8398e2b2aa303e61138af257a07d71 /network/c-toxcore
parent1df0e846ea29b7bc134756f19707f5b0839b2859 (diff)
network/c-toxcore: Change i486 to i586
Diffstat (limited to 'network/c-toxcore')
-rw-r--r--network/c-toxcore/c-toxcore.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/network/c-toxcore/c-toxcore.SlackBuild b/network/c-toxcore/c-toxcore.SlackBuild
index a56226bcbde3..6648543da4da 100644
--- a/network/c-toxcore/c-toxcore.SlackBuild
+++ b/network/c-toxcore/c-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"