]> git.pld-linux.org Git - packages/yajl.git/commitdiff
ac old compiler hack AC-branch auto/ac/yajl-2.1.0-1
authorElan Ruusamäe <glen@delfi.ee>
Sat, 10 Jan 2015 18:46:07 +0000 (20:46 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 10 Jan 2015 18:46:07 +0000 (20:46 +0200)
yajl.spec

index c2f896f6594477839338d7232d3070b7ed26b5e7..09bab10278fc9f32139559e907bda032de05a8f7 100644 (file)
--- 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
This page took 0.122028 seconds and 4 git commands to generate.