Use _smp_mflags.
This commit is contained in:
parent
8c0345898b
commit
5d053a5189
@ -1,7 +1,7 @@
|
||||
Summary: Tool for creating supermin appliances
|
||||
Name: supermin
|
||||
Version: 5.1.12
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
License: GPLv2+
|
||||
|
||||
%if 0%{?rhel} >= 7
|
||||
@ -80,7 +80,7 @@ from supermin appliances.
|
||||
make -C src init CFLAGS="-g -O2" LDFLAGS="-g -O2"
|
||||
|
||||
# Build the rest of the program with hardening flags.
|
||||
make
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
@ -118,9 +118,10 @@ make check || {
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Mar 16 2015 Richard W.M. Jones <rjones@redhat.com> - 5.1.12-5
|
||||
* Mon Mar 16 2015 Richard W.M. Jones <rjones@redhat.com> - 5.1.12-6
|
||||
- Enable hardening flags by building the static 'init' specially
|
||||
before the main build.
|
||||
- Use _smp_mflags.
|
||||
|
||||
* Thu Mar 12 2015 Richard W.M. Jones <rjones@redhat.com> - 5.1.12-4
|
||||
- Add a -devel subpackage containing automated RPM dependency generator
|
||||
|
Loading…
Reference in New Issue
Block a user