isolate unsupported gold for riscv64

This commit is contained in:
laokz 2023-02-06 20:33:53 +08:00 committed by laokz
parent 3d08c8eb89
commit bb3e36901b

View File

@ -48,7 +48,7 @@
Name: samba
Version: 4.17.5
Release: 1
Release: 2
Summary: A suite for Linux to interoperate with Windows
License: GPLv3+ and LGPLv3+
@ -569,8 +569,9 @@ 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"
%endif
%configure \
--enable-fhs \
@ -3478,6 +3479,12 @@ fi
%endif
%changelog
* Wed Feb 08 2023 laokz <zhangkai@iscas.ac.cn> - 4.17.5-2
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:isolate unsupported gold for riscv64
* Wed Feb 01 2023 gaihuiying <eaglegai@163.com> - 4.17.5-1
- Type:requirement
- ID:NA