summaryrefslogtreecommitdiffstats
path: root/grpc-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'grpc-build.patch')
-rw-r--r--grpc-build.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/grpc-build.patch b/grpc-build.patch
index e903511..6674ffe 100644
--- a/grpc-build.patch
+++ b/grpc-build.patch
@@ -1,14 +1,14 @@
diff -up ./config.m4.rpm ./config.m4
---- ./config.m4.rpm 2018-04-09 09:53:39.927037294 +0200
-+++ ./config.m4 2018-04-09 09:54:28.015307629 +0200
-@@ -14,8 +14,8 @@ if test "$PHP_GRPC" != "no"; then
+--- ./config.m4.rpm 2022-07-07 07:28:31.928904255 +0200
++++ ./config.m4 2022-07-07 07:30:39.835689129 +0200
+@@ -19,8 +19,8 @@ if test "$PHP_GRPC" != "no"; then
LIBS="-lpthread $LIBS"
-- CFLAGS="-Wall -Werror -Wno-parentheses-equality -Wno-unused-value -std=c11 -g -O2"
-- CXXFLAGS="-std=c++11 -fno-exceptions -fno-rtti -g -O2"
+- CFLAGS="-std=c11 -g -O2"
+- CXXFLAGS="-std=c++14 -fno-exceptions -fno-rtti -g -O2"
+ CFLAGS="$CFLAGS -std=c11"
-+ CXXFLAGS="$CXXFLAGS -std=c++11 -fno-exceptions -fno-rtti"
++ CXXFLAGS="$CXXFLAGS -std=c++14 -fno-exceptions -fno-rtti"
GRPC_SHARED_LIBADD="-lpthread $GRPC_SHARED_LIBADD"
PHP_REQUIRE_CXX()
PHP_ADD_LIBRARY(pthread)