summaryrefslogtreecommitdiff
path: root/development/cppdb
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
parent3fb4edd186422c7764f2831957c3fcc225658acc (diff)
downloadslackbuilds-709b665564ea627392d7b535653d80d39ae7a861.tar.gz
development/cppdb: Switch to i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/cppdb')
-rw-r--r--development/cppdb/README2
-rw-r--r--development/cppdb/cppdb.SlackBuild6
2 files changed, 4 insertions, 4 deletions
diff --git a/development/cppdb/README b/development/cppdb/README
index e74b0fecac..5574a5ea53 100644
--- a/development/cppdb/README
+++ b/development/cppdb/README
@@ -1,2 +1,2 @@
-stand alone C++ Connectivity library that supports MySQL, PostgreSQL,
+stand alone C++ Connectivity library that supports MySQL, PostgreSQL,
Sqlite3 databases and generic ODBC drivers.
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"