!78 [sync] PR-77: Support build with clang

From: @openeuler-sync-bot 
Reviewed-by: @robertxw 
Signed-off-by: @robertxw
This commit is contained in:
openeuler-ci-bot 2024-03-26 12:21:52 +00:00 committed by Gitee
commit e24ad57812
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: iputils Name: iputils
Version: 20221126 Version: 20221126
Release: 2 Release: 3
Summary: Network monitoring tools including ping Summary: Network monitoring tools including ping
License: BSD and GPLv2+ License: BSD and GPLv2+
URL: https://github.com/iputils/iputils URL: https://github.com/iputils/iputils
@ -37,7 +37,7 @@ export LDFLAGS="-Wl,-z,relro,-z,now"
%meson -Db_pie=true %meson -Db_pie=true
%meson_build %meson_build
gcc -Wall -fpie $RPM_OPT_FLAGS $CFLAGS $RPM_LD_FLAGS $LDFLAGS ifenslave.c -o ifenslave %{__cc} -Wall -fpie $RPM_OPT_FLAGS $CFLAGS $RPM_LD_FLAGS $LDFLAGS ifenslave.c -o ifenslave
%install %install
%meson_install %meson_install
@ -82,6 +82,12 @@ install -cp ifenslave.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/
%{_mandir}/man8/*.8.gz %{_mandir}/man8/*.8.gz
%changelog %changelog
* Thu Nov 16 2023 r30030392 <renyi43@huawei.com> - 20221126-3
- Type:NA
- CVE:NA
- SUG:NA
- DESC:support for building with clang
* Tue Apr 18 2023 zhongxuan <zhongxuan2@huawei.com> - 20221126-2 * Tue Apr 18 2023 zhongxuan <zhongxuan2@huawei.com> - 20221126-2
- Type:bugfix - Type:bugfix
- ID:NA - ID:NA