diff options
Diffstat (limited to 'perl/perl-Gtk2-Unique/perl-Gtk2-Unique.SlackBuild')
-rw-r--r-- | perl/perl-Gtk2-Unique/perl-Gtk2-Unique.SlackBuild | 7 |
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 46f2521f2e5d1..b70746837c51e 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" |