diff options
Diffstat (limited to 'system/fd/fd.SlackBuild')
-rw-r--r-- | system/fd/fd.SlackBuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/system/fd/fd.SlackBuild b/system/fd/fd.SlackBuild index adcc35d544..536e7140e4 100644 --- a/system/fd/fd.SlackBuild +++ b/system/fd/fd.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for fd # Copyright 2017-2022 Andrew Clemons, Wellington New Zealand -# Copyright 2022-2023 Andrew Clemons, Tokyo, Japan +# Copyright 2022-2024 Andrew Clemons, Tokyo, Japan # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=fd -VERSION=${VERSION:-9.0.0} +VERSION=${VERSION:-10.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -62,7 +62,11 @@ elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" CARGOTARGET="--target $ARCH-unknown-linux-gnu" -elif [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ]; then +elif [ "$ARCH" = "x86_64" ] ; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" + CARGOTARGET="--target $ARCH-unknown-linux-gnu" +elif [ "$ARCH" = "aarch64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" CARGOTARGET="--target $ARCH-unknown-linux-gnu" |