From 5d053a51894658c2a796ecdf9890edb30ce64137 Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones Date: Mar 16 2015 13:02:09 +0000 Subject: Use _smp_mflags. --- diff --git a/supermin.spec b/supermin.spec index e3e10c5..5b71571 100644 --- a/supermin.spec +++ b/supermin.spec @@ -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 - 5.1.12-5 +* Mon Mar 16 2015 Richard W.M. Jones - 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 - 5.1.12-4 - Add a -devel subpackage containing automated RPM dependency generator