add -j option for building efficiency optimization
This commit is contained in:
parent
5d01663dd2
commit
31d3ad5c28
@ -1,6 +1,6 @@
|
||||
Name: crash
|
||||
Version: 7.2.9
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: Linux kernel crash utility.
|
||||
License: GPLv3
|
||||
URL: https://crash-utility.github.io
|
||||
@ -45,7 +45,7 @@ created by manufacturer-specific firmware.
|
||||
|
||||
%build
|
||||
cp %{SOURCE1} .
|
||||
make RPMPKG="%{version}-%{release}" CFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}"
|
||||
make -j RPMPKG="%{version}-%{release}" CFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}"
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
@ -76,6 +76,9 @@ install -D -m 0644 defs.h %{buildroot}%{_includedir}/%{name}/defs.h
|
||||
%{_mandir}/man8/crash.8*
|
||||
|
||||
%changelog
|
||||
* Mon May 10 2021 shixuantong <shixuantong@huawei.com> - 7.2.9-3
|
||||
- add -j option for building efficiency optimization
|
||||
|
||||
* Thu Apr 08 2021 shixuantong <shixuantong@huawei.com> - 7.2.9-2
|
||||
- fix patch issue in upgrade version commit
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user