diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-07-09 07:51:30 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-07-09 07:51:30 +0700 |
commit | 8977406979c53c22f7039d3f7432d8a26771e2af (patch) | |
tree | fb1b05a1feca3ec6041607486452f4b8df67a1cd /perl-template.SlackBuild | |
parent | 954a90d795153fa3885c9c3544ad04cb182fd407 (diff) |
*.SlackBuild: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl-template.SlackBuild')
-rw-r--r-- | perl-template.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-template.SlackBuild b/perl-template.SlackBuild index 6787cda..fd7d6c8 100644 --- a/perl-template.SlackBuild +++ b/perl-template.SlackBuild @@ -58,7 +58,7 @@ SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; @@ -70,8 +70,8 @@ TMP=${TMP:-/tmp/SBo} # For consistency's sake, use this PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} # Drop the package in /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" |