aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2013-10-15 22:07:16 +0000
committerPascal Terjan <pterjan@gmail.com>2013-10-15 22:07:16 +0000
commitfbf96cd68e18a6bafdd82eaeba42b1539a7fffe1 (patch)
tree10e2d5bf7d8078ffa0c251f9df4be3954a7e3587
parent3a0a158647a7c7f19eb2cda9d069f228c4c673d1 (diff)
downloadrpm-setup-fbf96cd68e18a6bafdd82eaeba42b1539a7fffe1.tar
rpm-setup-fbf96cd68e18a6bafdd82eaeba42b1539a7fffe1.tar.gz
rpm-setup-fbf96cd68e18a6bafdd82eaeba42b1539a7fffe1.tar.bz2
rpm-setup-fbf96cd68e18a6bafdd82eaeba42b1539a7fffe1.tar.xz
rpm-setup-fbf96cd68e18a6bafdd82eaeba42b1539a7fffe1.zip
Add -O to %make
-rw-r--r--build.macros.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.macros.in b/build.macros.in
index 2edb153..baca002 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -212,7 +212,7 @@ export CFLAGS="%optflags"; export CXXFLAGS="%optflags"; export RPM_OPT_FLAGS="%o
[ "$RPM_BUILD_NCPUS" -gt 1 ] && echo "-j$RPM_BUILD_NCPUS")
%_make_bin make
-%make %{_make_bin} %_smp_mflags
+%make %{_make_bin} -O %_smp_mflags
%makeinstall_std make DESTDIR=%{?buildroot:%{buildroot}} install