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 08:20:10 -05:00
parent 924bfb7714
commit 81fb321f45
1 changed files with 3 additions and 3 deletions

View File

@ -548,9 +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
%ifarch x86_64 aarch64
-DCMAKE_LINKER=%{_bindir}/ld.mold \
%endif
%if %{with jemalloc}
-DALLOCATOR=jemalloc
%endif