summaryrefslogtreecommitdiff
path: root/development/cppdb/cppdb.SlackBuild
diff options
context:
space:
mode:
authorCristiano Urban <cristiano.urban.slack@gmail.com>2018-04-06 00:31:16 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-04-07 08:13:12 +0700
commit709b665564ea627392d7b535653d80d39ae7a861 (patch)
tree3a60fda227debe4985cee81ee26201821d5f4c5f /development/cppdb/cppdb.SlackBuild
parent3fb4edd186422c7764f2831957c3fcc225658acc (diff)
downloadslackbuilds-709b665564ea627392d7b535653d80d39ae7a861.tar.gz
development/cppdb: Switch to i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/cppdb/cppdb.SlackBuild')
-rw-r--r--development/cppdb/cppdb.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/development/cppdb/cppdb.SlackBuild b/development/cppdb/cppdb.SlackBuild
index ad0798dbac..56931c7eb2 100644
--- a/development/cppdb/cppdb.SlackBuild
+++ b/development/cppdb/cppdb.SlackBuild
@@ -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"