NFS-Ganesha 4.1, w/ modern linker (mold), this time for real

Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
This commit is contained in:
Kaleb S. KEITHLEY 2022-01-28 07:42:17 -05:00
parent d15b9bb2b3
commit 924bfb7714
1 changed files with 7 additions and 1 deletions

View File

@ -115,7 +115,7 @@ Requires: openSUSE-release
Name: nfs-ganesha
Version: 4.0
Release: 3%{?dev:%{dev}}%{?dist}
Release: 4%{?dev:%{dev}}%{?dist}
Summary: NFS-Ganesha is a NFS Server running in user space
License: LGPLv3+
Url: https://github.com/nfs-ganesha/nfs-ganesha/wiki
@ -548,6 +548,9 @@ cd src && %cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DRPCBIND=%{use_rpcbind} \
-D_MSPAC_SUPPORT=%{use_mspac_support} \
-DSANITIZE_ADDRESS=%{use_sanitize_address} \
+%ifarch x86_64 aarch64
+ -DCMAKE_LINKER=%{_bindir}/ld.mold \
+%endif
%if %{with jemalloc}
-DALLOCATOR=jemalloc
%endif
@ -891,6 +894,9 @@ exit 0
%endif
%changelog
* Fri Jan 28 2023 Kaleb S. KEITHLEY <kkeithle at redhat.com> - 4.0-4
- NFS-Ganesha 4.1, w/ modern linker (mold), this time for real
* Wed Jan 26 2022 Kaleb S. KEITHLEY <kkeithle at redhat.com> - 4.0-3
- NFS-Ganesha 4.0, w/ modern linker (mold)