From bb3e36901b7264a1d2e113c86b825c431fe042fc Mon Sep 17 00:00:00 2001 From: laokz Date: Mon, 6 Feb 2023 20:33:53 +0800 Subject: [PATCH] isolate unsupported gold for riscv64 --- samba.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/samba.spec b/samba.spec index 5560a77..6fefe02 100644 --- a/samba.spec +++ b/samba.spec @@ -48,7 +48,7 @@ Name: samba Version: 4.17.5 -Release: 1 +Release: 2 Summary: A suite for Linux to interoperate with Windows License: GPLv3+ and LGPLv3+ @@ -569,8 +569,9 @@ rm -f lib/crypto/{aes,rijndael}*.c export python_LDFLAGS="$(echo %{__global_ldflags} | sed -e 's/-Wl,-z,defs//g')" +%ifnarch riscv64 export LDFLAGS="%{__global_ldflags} -fuse-ld=gold" - +%endif %configure \ --enable-fhs \ @@ -3478,6 +3479,12 @@ fi %endif %changelog +* Wed Feb 08 2023 laokz - 4.17.5-2 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:isolate unsupported gold for riscv64 + * Wed Feb 01 2023 gaihuiying - 4.17.5-1 - Type:requirement - ID:NA