aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Gtk2-Unique/perl-Gtk2-Unique.SlackBuild
diff options
context:
space:
mode:
authorDonald Cooley <chytraeu@sdf.org>2018-01-26 00:19:06 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-27 07:43:49 +0700
commit7cef1110a5a15bc6c96feafa8ae0fe2f3f276532 (patch)
tree77a54ebff03e3707ab0fd57c7e75aad1f87eb795 /perl/perl-Gtk2-Unique/perl-Gtk2-Unique.SlackBuild
parentd0c1d93d035bfb217c326f510de60d59c50fbdf2 (diff)
perl/perl-Gtk2-Unique: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-Gtk2-Unique/perl-Gtk2-Unique.SlackBuild')
-rw-r--r--perl/perl-Gtk2-Unique/perl-Gtk2-Unique.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/perl/perl-Gtk2-Unique/perl-Gtk2-Unique.SlackBuild b/perl/perl-Gtk2-Unique/perl-Gtk2-Unique.SlackBuild
index 46f2521f2e5d..b70746837c51 100644
--- a/perl/perl-Gtk2-Unique/perl-Gtk2-Unique.SlackBuild
+++ b/perl/perl-Gtk2-Unique/perl-Gtk2-Unique.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for perl-Gtk2-Unique
+# Copyright 2018 Donald Cooley, South Haven, Indiana USA
# Copyright 2013 Donald Cooley, La Porte, IN USA
# All rights reserved.
#
@@ -31,7 +32,7 @@ SRCNAM="$(printf $PRGNAM | cut -d- -f2-)"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -42,8 +43,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"