!37 Support build with clang
From: @luofeng14 Reviewed-by: @dillon_chen Signed-off-by: @dillon_chen
This commit is contained in:
commit
1ea9bd5be7
11
rsync.spec
11
rsync.spec
@ -1,6 +1,6 @@
|
|||||||
Name: rsync
|
Name: rsync
|
||||||
Version: 3.2.7
|
Version: 3.2.7
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Fast incremental file transfer utility
|
Summary: Fast incremental file transfer utility
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
URL: http://rsync.samba.org/
|
URL: http://rsync.samba.org/
|
||||||
@ -38,6 +38,9 @@ at one of the ends of the link beforehand.
|
|||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if "%{?toolchain}" == "clang"
|
||||||
|
CFLAGS="${CFLAGS:-%{?build_cflags}} -Wno-strict-prototypes"; export CFLAGS;
|
||||||
|
%endif
|
||||||
%configure --disable-xxhash
|
%configure --disable-xxhash
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
@ -81,6 +84,12 @@ install -D -m644 %{SOURCE5} %{buildroot}/%{_unitdir}/rsyncd@.service
|
|||||||
%{_mandir}/man5/rsyncd.conf.5*
|
%{_mandir}/man5/rsyncd.conf.5*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 22 2024 Xiaoya Huang <huangxiaoya@iscas.ac.cn> - 3.2.7-3
|
||||||
|
- Type: enhencement
|
||||||
|
- CVE:
|
||||||
|
- SUG:NA
|
||||||
|
- DESC: support clang build
|
||||||
|
|
||||||
* Thu Jun 15 2023 zhoupengcheng <zhoupengcheng11@huawei.com> - 3.2.7-2
|
* Thu Jun 15 2023 zhoupengcheng <zhoupengcheng11@huawei.com> - 3.2.7-2
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- CVE:
|
- CVE:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user