From 8087b3cec93c1eb99ef5dc04235be7fbb77fd439 Mon Sep 17 00:00:00 2001 From: SaltyFruit Date: Tue, 11 Apr 2023 23:51:34 +0800 Subject: [PATCH] Support specify CC --- fxload.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/fxload.spec b/fxload.spec index 2af24c6..ec482f6 100644 --- a/fxload.spec +++ b/fxload.spec @@ -1,6 +1,6 @@ Name: fxload Version: 2008_10_13 -Release: 19 +Release: 20 Summary: A program which downloads firmware to USB devices License: GPLv2+ URL: http://linux-hotplug.sourceforge.net/ @@ -26,7 +26,7 @@ This contains man files for the using of fxload. %autosetup -n %{name}-%{version} -p1 %build -make CC=gcc CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" +make CC=$CC CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" %install install -D -m 755 fxload %{buildroot}/sbin/fxload @@ -41,6 +41,9 @@ install -D -m 644 fxload.8 %{buildroot}/%{_mandir}/man8/fxload.8 %{_mandir}/*/* %changelog +* Tue Apr 11 2023 SaltyFruit - 2008_10_13-20 +- Support specify cc + * Thu May 19 2022 chengwenzhe - 2008_10_13-19 - fix spec changelog date time -- Gitee