[mirall] add rpm_opt_flags macro

Joseph Marrero jmarrero at fedoraproject.org
Sun Sep 8 13:22:14 UTC 2013


commit 5598a85b6aab3b595c13eeeac832eef1feb7d72c
Author: Joseph Marrero <jmarrero at fedoraproject.org>
Date:   Sun Sep 8 09:18:39 2013 -0400

    add rpm_opt_flags macro

 mirall.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mirall.spec b/mirall.spec
index 09c5614..c12da54 100644
--- a/mirall.spec
+++ b/mirall.spec
@@ -46,7 +46,7 @@ The ownCloud desktop client, lets you sync directly to your ownCloud server.
 mkdir build
 pushd build
 %cmake .. -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed" -DCSYNC_LIBRARY:PATH=%{_libdir}/libocsync.so -DCSYNC_INCLUDE_PATH:PATH=%{_includedir}/ocsync
-make %{?_smp_mflags}
+make %{?_smp_mflags} %{optflags}
 popd
 
 %install


More information about the scm-commits mailing list