[packages/apache-mod_spdy] disable werror, too many warnings to fix ourselves

glen glen at pld-linux.org
Mon Dec 9 21:25:52 CET 2013


commit ce046aa516a5f36fa89243530f267eee35735081
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Dec 9 22:25:06 2013 +0200

    disable werror, too many warnings to fix ourselves

 apache-mod_spdy.spec | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/apache-mod_spdy.spec b/apache-mod_spdy.spec
index 91ee2d0..9989add 100644
--- a/apache-mod_spdy.spec
+++ b/apache-mod_spdy.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_with	werror		# build with "-Werror" enabled
+
 %define		mod_name	spdy
 %define 	apxs		%{_sbindir}/apxs
 Summary:	Apache 2 module to enable SPDY support
@@ -40,6 +44,7 @@ CXX="%{__cxx}" \
 	--format=make \
 	--depth=. \
 	build/all.gyp \
+	%{!?with_werror:-Dwerror=} \
 	-Duse_openssl=1 \
 	-Duse_system_apache_dev=1 \
 	-Duse_system_libjpeg=1 \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/apache-mod_spdy.git/commitdiff/1b8cc06f57ef8cddda9102b399498b10227781c2



More information about the pld-cvs-commit mailing list