summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-09-27 16:01:21 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-01 07:28:39 +0700
commite3eaf76e0a5c9eab21800cbd523b2230143da57d (patch)
tree8fbb639774afcc49f17c8c94c8cf9f4afb57e83f
parent71ca5ac0b8fb6cbe21647d9d19be2e49103230eb (diff)
downloadslackbuilds-e3eaf76e0a5c9eab21800cbd523b2230143da57d.tar.gz
graphics/phatch: Switch to i586.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r--graphics/phatch/phatch.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/phatch/phatch.SlackBuild b/graphics/phatch/phatch.SlackBuild
index f4119d6fb4..9f0f1c981f 100644
--- a/graphics/phatch/phatch.SlackBuild
+++ b/graphics/phatch/phatch.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for phatch
-# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
+# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -30,7 +30,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
@@ -41,8 +41,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"