summaryrefslogtreecommitdiff
path: root/libraries/p4api/p4api.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-22 23:34:02 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:29:56 +0000
commit90d6d81de4443103946d87de44ebbaf0b2afd106 (patch)
tree0031ba1391377adb179960ff819285e7145d9df1 /libraries/p4api/p4api.SlackBuild
parentd6950ae29cc8da734407166ab6410e50565fe75a (diff)
downloadslackbuilds-90d6d81de4443103946d87de44ebbaf0b2afd106.tar.gz
libraries/p4api: i486=>i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/p4api/p4api.SlackBuild')
-rw-r--r--libraries/p4api/p4api.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/p4api/p4api.SlackBuild b/libraries/p4api/p4api.SlackBuild
index 2dda7600e0..2db9d249d3 100644
--- a/libraries/p4api/p4api.SlackBuild
+++ b/libraries/p4api/p4api.SlackBuild
@@ -10,7 +10,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
@@ -21,8 +21,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"