summaryrefslogtreecommitdiffstats
path: root/libraries/tsocks/tsocks.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/tsocks/tsocks.SlackBuild')
-rw-r--r--libraries/tsocks/tsocks.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/tsocks/tsocks.SlackBuild b/libraries/tsocks/tsocks.SlackBuild
index 4380fdfb14..1c0d9102d4 100644
--- a/libraries/tsocks/tsocks.SlackBuild
+++ b/libraries/tsocks/tsocks.SlackBuild
@@ -33,7 +33,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
@@ -53,8 +53,8 @@ OUTPUT=${OUTPUT:-/tmp}
DOCS="COPYING ChangeLog FAQ tsocks.conf.simple.example tsocks.conf.complex.example"
-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"