Use __cc macro instead of hard-coding gcc
This commit is contained in:
parent
796f77ad78
commit
11b7fa4b8a
@ -1,6 +1,6 @@
|
|||||||
Name: fxload
|
Name: fxload
|
||||||
Version: 2008_10_13
|
Version: 2008_10_13
|
||||||
Release: 14%{?dist}
|
Release: 15%{?dist}
|
||||||
Summary: A helper program to download firmware into FX and FX2 EZ-USB devices
|
Summary: A helper program to download firmware into FX and FX2 EZ-USB devices
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -33,7 +33,7 @@ appears on the bus.
|
|||||||
%patch1 -p1 -b .cflags
|
%patch1 -p1 -b .cflags
|
||||||
|
|
||||||
%build
|
%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
|
||||||
mkdir -p -m 755 %{buildroot}/sbin
|
mkdir -p -m 755 %{buildroot}/sbin
|
||||||
@ -48,6 +48,9 @@ install -m 644 fxload.8 %{buildroot}/%{_mandir}/man8/
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 03 2020 Tom Stellard <tstellar@redhat.com> - 2008_10_13-15
|
||||||
|
- Use __cc macro instead of hard-coding gcc
|
||||||
|
|
||||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2008_10_13-14
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2008_10_13-14
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user