summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonard Schmidt <lems@gmx.net>2018-06-15 23:24:47 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-06-17 19:13:23 +0100
commitee24e2768c57d2e7f4ab20261f0ef587646e2df1 (patch)
tree5d0078d358b1ee9ad7b5f416fa7d418e844c8cd7
parentb2d79f935b77d30a5905ad628b23a1d66dd58c6b (diff)
downloadslackbuilds-ee24e2768c57d2e7f4ab20261f0ef587646e2df1.tar.gz
network/tnftp: Switch to i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--network/tnftp/tnftp.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/network/tnftp/tnftp.SlackBuild b/network/tnftp/tnftp.SlackBuild
index 408f6d3114..32fb0248f4 100644
--- a/network/tnftp/tnftp.SlackBuild
+++ b/network/tnftp/tnftp.SlackBuild
@@ -28,7 +28,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -39,8 +39,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"