From fda0a886af2f4a5c1d98d8f6d2bc7f72e5e37840 Mon Sep 17 00:00:00 2001 From: Hailiang Date: Thu, 16 Oct 2025 17:40:49 +0800 Subject: [PATCH] fix sw_64 build error --- samba.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/samba.spec b/samba.spec index eb43b78..ae034e2 100644 --- a/samba.spec +++ b/samba.spec @@ -45,7 +45,7 @@ Name: samba Version: 4.22.5 -Release: 1 +Release: 2 Summary: A suite for Linux to interoperate with Windows License: GPL-3.0-or-later AND LGPL-3.0-or-later @@ -677,7 +677,7 @@ rm -rfv third_party/heimdal export python_LDFLAGS="$(echo %{__global_ldflags} | sed -e 's/-Wl,-z,defs//g')" -%ifnarch riscv64 loongarch64 ppc64le +%ifnarch riscv64 loongarch64 ppc64le sw_64 export LDFLAGS="%{__global_ldflags} -fuse-ld=gold" %else export LDFLAGS="%{__global_ldflags} -fuse-ld=bfd" @@ -3072,6 +3072,12 @@ fi %{_mandir}/man3/ldif* %changelog +* Thu Oct 16 2025 mahailiang - 4.22.5-2 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:fix sw_64 build error + * Thu Oct 16 2025 Funda Wang - 4.22.5-1 - Type:bugfix - ID:NA -- Gitee