summaryrefslogtreecommitdiff
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
commitd45385549c0fcc965440dcd7b776b464c878bfdb (patch)
tree4ab28f037c3babb0dd4d6f0827ae351480f6685d /network
parent763b0023021f250d341e3a3c33e6843c1ae1cfeb (diff)
downloadslackbuilds-d45385549c0fcc965440dcd7b776b464c878bfdb.tar.gz
network/torsocks: Change i486 to i586
Diffstat (limited to 'network')
-rw-r--r--network/torsocks/torsocks.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/network/torsocks/torsocks.SlackBuild b/network/torsocks/torsocks.SlackBuild
index 6482128a54..c444c287e4 100644
--- a/network/torsocks/torsocks.SlackBuild
+++ b/network/torsocks/torsocks.SlackBuild
@@ -14,7 +14,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
@@ -32,8 +32,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"