From 81fb321f45e954e5ab351e8ef863ea1c20935fc5 Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Fri, 28 Jan 2022 08:20:10 -0500 Subject: [PATCH] NFS-Ganesha 4.1, w/ modern linker (mold), this time for real Signed-off-by: Kaleb S. KEITHLEY --- nfs-ganesha.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nfs-ganesha.spec b/nfs-ganesha.spec index f27c1c3..53c12f0 100644 --- a/nfs-ganesha.spec +++ b/nfs-ganesha.spec @@ -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