aboutsummaryrefslogtreecommitdiff
path: root/system/fd
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-12-29 10:41:48 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-12-31 09:14:34 +0700
commitfa7d89b01b97f19f152a798f70071e1d19676331 (patch)
treef0d9b81bcdb30b3770991e757509560baee455a7 /system/fd
parent39d02424fe03e9b0b1e2399754150c25e8ff4f68 (diff)
system/fd: Updated README.
Added a note that this version will be the last on 15.0 unless a newer rust is added to patches/. Allow building on aarch64-current - no change for any other arches. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/fd')
-rw-r--r--system/fd/README4
-rw-r--r--system/fd/fd.SlackBuild8
2 files changed, 8 insertions, 4 deletions
diff --git a/system/fd/README b/system/fd/README
index 4b82444c6cff..05ecd97b62dc 100644
--- a/system/fd/README
+++ b/system/fd/README
@@ -1 +1,5 @@
fd - A simple, fast and user-friendly alternative to find.
+
+Version 8.4.0 will be the last version for Slackware 15.0, unless
+rust is patched to be a newer version. Starting with 8.5.0, rust
+1.60.0 or newer is required.
diff --git a/system/fd/fd.SlackBuild b/system/fd/fd.SlackBuild
index 9b794f269469..9925a27a63eb 100644
--- a/system/fd/fd.SlackBuild
+++ b/system/fd/fd.SlackBuild
@@ -57,15 +57,15 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
- CARGOTARGET="--target i586-unknown-linux-gnu"
+ CARGOTARGET="--target $ARCH-unknown-linux-gnu"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
- CARGOTARGET="--target i686-unknown-linux-gnu"
-elif [ "$ARCH" = "x86_64" ]; then
+ CARGOTARGET="--target $ARCH-unknown-linux-gnu"
+elif [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
- CARGOTARGET="--target x86_64-unknown-linux-gnu"
+ CARGOTARGET="--target $ARCH-unknown-linux-gnu"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""