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