From 11b7fa4b8a38327876c8dfcb94ad497ae873c198 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 14 Jan 2020 23:08:01 +0000 Subject: [PATCH] Use __cc macro instead of hard-coding gcc --- fxload.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/fxload.spec b/fxload.spec index 3b7dadf..66d72bf 100644 --- a/fxload.spec +++ b/fxload.spec @@ -1,6 +1,6 @@ Name: fxload Version: 2008_10_13 -Release: 14%{?dist} +Release: 15%{?dist} Summary: A helper program to download firmware into FX and FX2 EZ-USB devices License: GPLv2+ @@ -33,7 +33,7 @@ appears on the bus. %patch1 -p1 -b .cflags %build -make CC=gcc CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" +make CC=%{__cc} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" %install mkdir -p -m 755 %{buildroot}/sbin @@ -48,6 +48,9 @@ install -m 644 fxload.8 %{buildroot}/%{_mandir}/man8/ %{_mandir}/*/* %changelog +* Mon Feb 03 2020 Tom Stellard - 2008_10_13-15 +- Use __cc macro instead of hard-coding gcc + * Tue Jan 28 2020 Fedora Release Engineering - 2008_10_13-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild