summaryrefslogtreecommitdiffstats
path: root/grpc-build.patch
blob: efff3138d2aa5ab543e504d3b6766ca86c4f7438 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -up ./config.m4.rpm ./config.m4
--- ./config.m4.rpm	2017-08-22 16:28:30.000000000 +0200
+++ ./config.m4	2017-08-22 16:28:56.000000000 +0200
@@ -11,8 +11,8 @@ if test "$PHP_GRPC" != "no"; then
 
   LIBS="-lpthread $LIBS"
 
-  CFLAGS="-Wall -Werror -Wno-parentheses-equality -Wno-unused-value -std=c11"
-  CXXFLAGS="-std=c++11 -fno-exceptions -fno-rtti"
+  CFLAGS="$CFLAGS -Wno-parentheses-equality -Wno-unused-value -std=c11"
+  CXXFLAGS="$CXXFLAGS -std=c++11 -fno-exceptions -fno-rtti"
   GRPC_SHARED_LIBADD="-lpthread $GRPC_SHARED_LIBADD"
   PHP_REQUIRE_CXX()
   PHP_ADD_LIBRARY(pthread)