commit eae974c967b36f0f87badf3b2738c72e2383f68e
Author: Elan Ruusamäe <[email protected]>
Date: Sat Jan 10 20:46:07 2015 +0200
ac old compiler hack
yajl.spec | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/yajl.spec b/yajl.spec
index c2f896f..09bab10 100644
--- a/yajl.spec
+++ b/yajl.spec
@@ -52,6 +52,13 @@ Statyczna biblioteka YAJL.
%setup -q
%patch0 -p1
+%if "%{pld_release}" == "ac"
+#cc1: error: unrecognized option `-Wextra'
+#cc1: error: unrecognized option `-Wold-style-definition'
+%{__sed} -i -e 's/-Wold-style-definition//' CMakeLists.txt
+%{__sed} -i -e 's/-Wextra//' CMakeLists.txt
+%endif
+
%build
install -d build
cd build
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/yajl.git/commitdiff/eae974c967b36f0f87badf3b2738c72e2383f68e
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit