From 79ef8fd877da3ca6017f61e2f647a4777709ae82 Mon Sep 17 00:00:00 2001 From: luofeng14 Date: Sun, 4 Feb 2024 07:53:35 +0000 Subject: [PATCH] support for building with clang Signed-off-by: luofeng14 (cherry picked from commit 9c491bb99c18113cb883365312d5c392be26b333) --- iputils.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/iputils.spec b/iputils.spec index 0ec4612..1edd7d2 100644 --- a/iputils.spec +++ b/iputils.spec @@ -1,6 +1,6 @@ Name: iputils Version: 20221126 -Release: 2 +Release: 3 Summary: Network monitoring tools including ping License: BSD and GPLv2+ URL: https://github.com/iputils/iputils @@ -37,7 +37,7 @@ export LDFLAGS="-Wl,-z,relro,-z,now" %meson -Db_pie=true %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 %meson_install @@ -82,6 +82,12 @@ install -cp ifenslave.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/ %{_mandir}/man8/*.8.gz %changelog +* Thu Nov 16 2023 r30030392 - 20221126-3 +- Type:NA +- CVE:NA +- SUG:NA +- DESC:support for building with clang + * Tue Apr 18 2023 zhongxuan - 20221126-2 - Type:bugfix - ID:NA -- Gitee