summaryrefslogtreecommitdiffstats
path: root/source/l/tdb/tdb.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2024-07-30 18:39:31 +0000
committer Eric Hameleers <alien@slackware.com>2024-07-30 21:03:57 +0200
commitbf331cc42511e77c8d028de63ffaa12bcc2227fe (patch)
tree9cfdf05c9753f6d8323aa1c49774d5ae12e97a27 /source/l/tdb/tdb.SlackBuild
parent4147fdd758d2c3242e874ffece9f445bc0388127 (diff)
downloadcurrent-bf331cc42511e77c8d028de63ffaa12bcc2227fe.tar.gz
current-bf331cc42511e77c8d028de63ffaa12bcc2227fe.tar.xz
Tue Jul 30 18:39:31 UTC 202420240730183931
a/btrfs-progs-6.10-x86_64-1.txz: Upgraded. a/cryptsetup-2.7.4-x86_64-1.txz: Upgraded. a/sysvinit-3.10-x86_64-1.txz: Upgraded. d/git-2.46.0-x86_64-1.txz: Upgraded. l/gst-plugins-bad-free-1.24.6-x86_64-1.txz: Upgraded. l/gst-plugins-base-1.24.6-x86_64-1.txz: Upgraded. l/gst-plugins-good-1.24.6-x86_64-1.txz: Upgraded. l/gst-plugins-libav-1.24.6-x86_64-1.txz: Upgraded. l/gstreamer-1.24.6-x86_64-1.txz: Upgraded. l/python-sphinx-8.0.2-x86_64-1.txz: Upgraded. l/tdb-1.4.11-x86_64-1.txz: Upgraded. extra/tigervnc/tigervnc-1.14.0-x86_64-1.txz: Upgraded. Thanks to marav for the build script help.
Diffstat (limited to '')
-rwxr-xr-xsource/l/tdb/tdb.SlackBuild19
1 files changed, 5 insertions, 14 deletions
diff --git a/source/l/tdb/tdb.SlackBuild b/source/l/tdb/tdb.SlackBuild
index 2c2e97ff6..2e15ccc3a 100755
--- a/source/l/tdb/tdb.SlackBuild
+++ b/source/l/tdb/tdb.SlackBuild
@@ -24,12 +24,12 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=tdb
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
- i?86) ARCH=i586 ;;
+ i?86) ARCH=i686 ;;
arm*) readelf /usr/bin/file -A | grep -E -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$(uname -m) ;;
@@ -47,21 +47,12 @@ fi
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
+if [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=pentium4 -mtune=generic"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
+ SLKCFLAGS="-O2 -march=x86-64 -mtune=generic -fPIC"
LIBDIRSUFFIX="64"
-elif [ "$ARCH" = "armv7hl" ]; then
- SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16"
- LIBDIRSUFFIX=""
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""