!213 add loongarch64 and sw_64 support
From: @panchenbo Reviewed-by: @gebidelidaye Signed-off-by: @gebidelidaye
This commit is contained in:
commit
918a2fe53c
14
samba.spec
14
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 <panchenbo@kylinsec.com.cn> - 4.17.5-8
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:add loongarch64 and sw_64 support
|
||||
|
||||
* Mon Jul 24 2023 xinghe <xinghe2@h-partners.com> - 4.17.5-7
|
||||
- Type:cves
|
||||
- ID:CVE-2022-2127 CVE-2023-3347 CVE-2023-34966 CVE-2023-34967 CVE-2023-34968
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user