diff --git a/samba.spec b/samba.spec index 36c3b461d826fbdb0c71e1ac607a825407f0521b..df98014059e808dd7b98b1f068b43d4874b53784 100644 --- a/samba.spec +++ b/samba.spec @@ -48,7 +48,7 @@ Name: samba Version: 4.17.5 -Release: 7 +Release: 8 Summary: A suite for Linux to interoperate with Windows License: GPLv3+ and LGPLv3+ @@ -660,8 +660,12 @@ 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" +%ifarch riscv64 sw_64 +export LDFLAGS="%{__global_ldflags}" +%endif +%ifarch loongarch64 +export LDFLAGS="%{__global_ldflags} -fuse-ld=bfd" %endif %configure \ @@ -3577,6 +3581,12 @@ fi %endif %changelog +* Fri Aug 11 2023 panchenbo - 4.17.5-8 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:add loongarch64 and sw_64 support + * Mon Jul 24 2023 xinghe - 4.17.5-7 - Type:cves - ID:CVE-2022-2127 CVE-2023-3347 CVE-2023-34966 CVE-2023-34967 CVE-2023-34968