diff --git a/samba.spec b/samba.spec index 6fefe02..57cb34f 100644 --- a/samba.spec +++ b/samba.spec @@ -48,7 +48,7 @@ Name: samba Version: 4.17.5 -Release: 2 +Release: 3 Summary: A suite for Linux to interoperate with Windows License: GPLv3+ and LGPLv3+ @@ -569,8 +569,10 @@ rm -f lib/crypto/{aes,rijndael}*.c export python_LDFLAGS="$(echo %{__global_ldflags} | sed -e 's/-Wl,-z,defs//g')" -%ifnarch riscv64 +%ifnarch riscv64 loongarch64 export LDFLAGS="%{__global_ldflags} -fuse-ld=gold" +%else +export LDFLAGS="%{__global_ldflags} -fuse-ld=bfd" %endif %configure \ @@ -3479,6 +3481,12 @@ fi %endif %changelog +* Tue Mar 7 2023 doupengda - 4.17.5-3 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:add ld.bfd for loongarch + * Wed Feb 08 2023 laokz - 4.17.5-2 - Type:enhancement - ID:NA