From 550d14a4481a2e33033a97171e66dbd686fe7c40 Mon Sep 17 00:00:00 2001 From: panchenbo Date: Fri, 11 Aug 2023 16:17:17 +0800 Subject: [PATCH] add loongarch64 and sw_64 support --- samba.spec | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/samba.spec b/samba.spec index d7b500f..30b5c2c 100644 --- a/samba.spec +++ b/samba.spec @@ -48,7 +48,7 @@ Name: samba Version: 4.17.5 -Release: 6 +Release: 7 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-7 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:add loongarch64 and sw_64 support + * Thu Jul 20 2023 xinghe - 4.17.5-6 - Type:cves - ID:CVE-2022-2127 CVE-2023-3347 CVE-2023-34966 CVE-2023-34967 CVE-2023-34968 -- Gitee