!28 [sync] PR-27: Support build with clang
From: @openeuler-sync-bot Reviewed-by: @volcanodragon Signed-off-by: @volcanodragon
This commit is contained in:
commit
1a26d4d919
@ -1,6 +1,6 @@
|
|||||||
Name: fxload
|
Name: fxload
|
||||||
Version: 2008_10_13
|
Version: 2008_10_13
|
||||||
Release: 19
|
Release: 20
|
||||||
Summary: A program which downloads firmware to USB devices
|
Summary: A program which downloads firmware to USB devices
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://linux-hotplug.sourceforge.net/
|
URL: http://linux-hotplug.sourceforge.net/
|
||||||
@ -26,7 +26,7 @@ This contains man files for the using of fxload.
|
|||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
%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
|
||||||
install -D -m 755 fxload %{buildroot}/sbin/fxload
|
install -D -m 755 fxload %{buildroot}/sbin/fxload
|
||||||
@ -41,6 +41,9 @@ install -D -m 644 fxload.8 %{buildroot}/%{_mandir}/man8/fxload.8
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 1 2024 luofeng <luofeng13@huawei.com> - 2008_10_13-20
|
||||||
|
- support clang build
|
||||||
|
|
||||||
* Thu May 19 2022 chengwenzhe <chengwenzhe@uniontech.com> - 2008_10_13-19
|
* Thu May 19 2022 chengwenzhe <chengwenzhe@uniontech.com> - 2008_10_13-19
|
||||||
- fix spec changelog date time
|
- fix spec changelog date time
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user