summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorRichard Narron <richard@aaazen.com>2020-01-03 23:55:20 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-04 07:59:51 +0700
commit63605264ce632b11e98a922f85bddc7973a85572 (patch)
treef5f3cac971ff54a91b42a4b59f9da03a4eccbdd9 /system
parentd825aee4261aca0aaaafce92ab3b53ade75d864a (diff)
downloadslackbuilds-63605264ce632b11e98a922f85bddc7973a85572.tar.gz
system/fcron: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/fcron/fcron.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/fcron/fcron.SlackBuild b/system/fcron/fcron.SlackBuild
index 0ca20e670a..2744dff620 100644
--- a/system/fcron/fcron.SlackBuild
+++ b/system/fcron/fcron.SlackBuild
@@ -47,7 +47,7 @@ fi
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -58,8 +58,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686 -Wall"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686 -Wall"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686 -Wall"