[packages/mongo-c-driver] use our compiler flags

glen glen at pld-linux.org
Sun Oct 29 21:24:24 CET 2017


commit aba4c0423251405759a3fed54a2b3b646a768d98
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun Oct 29 22:20:24 2017 +0200

    use our compiler flags

 mongo-c-driver.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/mongo-c-driver.spec b/mongo-c-driver.spec
index e78200e..e552486 100644
--- a/mongo-c-driver.spec
+++ b/mongo-c-driver.spec
@@ -78,7 +78,8 @@ Documentation: http://api.mongodb.org/c/%{version}/
 export LIBS=-lpthread
 
 %configure \
-	--enable-debug-symbols \
+	--disable-silent-rules \
+	--disable-optimizations \
 	--enable-shm-counters \
 	--disable-automatic-init-and-cleanup \
 	%{__enable_disable doc man-pages} \
@@ -101,11 +102,11 @@ rm -rf src/zlib-*
 rm -rf src/libbson
 %endif
 
-%{__make} all V=1
+%{__make} all
 
 # Explicit man target is needed for generating manual pages
 %if %{with doc}
-%{__make} doc/man V=1
+%{__make} doc/man
 %endif
 
 %if %{with tests}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mongo-c-driver.git/commitdiff/46f361300895546b6325bbb8934e4775111e37ef



More information about the pld-cvs-commit mailing list