isolate unsupported gold for riscv64
This commit is contained in:
parent
3d08c8eb89
commit
bb3e36901b
11
samba.spec
11
samba.spec
@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
Name: samba
|
Name: samba
|
||||||
Version: 4.17.5
|
Version: 4.17.5
|
||||||
Release: 1
|
Release: 2
|
||||||
|
|
||||||
Summary: A suite for Linux to interoperate with Windows
|
Summary: A suite for Linux to interoperate with Windows
|
||||||
License: GPLv3+ and LGPLv3+
|
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')"
|
export python_LDFLAGS="$(echo %{__global_ldflags} | sed -e 's/-Wl,-z,defs//g')"
|
||||||
|
|
||||||
|
%ifnarch riscv64
|
||||||
export LDFLAGS="%{__global_ldflags} -fuse-ld=gold"
|
export LDFLAGS="%{__global_ldflags} -fuse-ld=gold"
|
||||||
|
%endif
|
||||||
|
|
||||||
%configure \
|
%configure \
|
||||||
--enable-fhs \
|
--enable-fhs \
|
||||||
@ -3478,6 +3479,12 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Feb 01 2023 gaihuiying <eaglegai@163.com> - 4.17.5-1
|
||||||
- Type:requirement
|
- Type:requirement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user