summaryrefslogtreecommitdiffstats
path: root/source/l
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2024-08-19 18:50:19 +0000
committer Eric Hameleers <alien@slackware.com>2024-08-19 21:49:36 +0200
commitdf0b85011ca263a8da9ecd65ac01100bbac3cb82 (patch)
tree22824a7c4c1b8cbd88208a58041c13b9ba2256bf /source/l
parentaea7d1360178fffb8b84e264e01cb74ec44ad675 (diff)
downloadcurrent-df0b85011ca263a8da9ecd65ac01100bbac3cb82.tar.gz
current-df0b85011ca263a8da9ecd65ac01100bbac3cb82.tar.xz
Mon Aug 19 18:50:19 UTC 202420240819185019
a/kernel-firmware-20240816_5649ca7-noarch-1.txz: Upgraded. a/kernel-generic-6.10.6-x86_64-1.txz: Upgraded. a/kernel-huge-6.10.6-x86_64-1.txz: Upgraded. a/kernel-modules-6.10.6-x86_64-1.txz: Upgraded. d/kernel-headers-6.10.6-x86-1.txz: Upgraded. k/kernel-source-6.10.6-noarch-1.txz: Upgraded. l/liburing-2.7-x86_64-1.txz: Upgraded. x/libinput-1.26.2-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/l')
-rwxr-xr-xsource/l/liburing/liburing.SlackBuild17
1 files changed, 4 insertions, 13 deletions
diff --git a/source/l/liburing/liburing.SlackBuild b/source/l/liburing/liburing.SlackBuild
index ad64ab05e..e85d7f294 100755
--- a/source/l/liburing/liburing.SlackBuild
+++ b/source/l/liburing/liburing.SlackBuild
@@ -29,7 +29,7 @@ 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=""