!169 对riscv隔离gold配置

From: @laokz 
Reviewed-by: @seuzw 
Signed-off-by: @seuzw
This commit is contained in:
openeuler-ci-bot 2023-02-07 01:36:35 +00:00 committed by Gitee
commit eed1a019d9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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