From 9a63904261512e8be74c521003240277c1a81d4f Mon Sep 17 00:00:00 2001 From: SaltyFruit Date: Fri, 14 Apr 2023 07:09:58 +0000 Subject: [PATCH] Fix CC compiler support Signed-off-by: SaltyFruit Signed-off-by: jchzhou --- iputils.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/iputils.spec b/iputils.spec index 0ec4612..09b945d 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 Apr 14 2023 jchzhou - 20221126-3 +- Type:bugfix +- ID:NA +- SUG:NA +- rebase "Fix CC compiler support" by SaltyFruit + * Tue Apr 18 2023 zhongxuan - 20221126-2 - Type:bugfix - ID:NA -- Gitee