summaryrefslogtreecommitdiffstats
path: root/grpc-build.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-07-07 09:49:48 +0200
committerRemi Collet <remi@php.net>2022-07-07 09:49:48 +0200
commit846749ab41a3260cc3b8ddd05b51df5f291406ad (patch)
tree9fe745ed99c29dd1751c36dd7746675eeaa5f20b /grpc-build.patch
parent869614f31353b4465f47483a5060ccfd730f6339 (diff)
update to 1.47.0
Diffstat (limited to 'grpc-build.patch')
-rw-r--r--grpc-build.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/grpc-build.patch b/grpc-build.patch
index 4d15462..fca67c4 100644
--- a/grpc-build.patch
+++ b/grpc-build.patch
@@ -1,14 +1,14 @@
diff -up ./config.m4.rpm ./config.m4
---- ./config.m4.rpm 2022-03-28 08:02:01.063993366 +0200
-+++ ./config.m4 2022-03-28 08:04:44.843398916 +0200
+--- ./config.m4.rpm 2022-07-07 07:28:31.928904255 +0200
++++ ./config.m4 2022-07-07 07:30:39.835689129 +0200
@@ -18,8 +18,8 @@ if test "$PHP_GRPC" != "no"; then
LIBS="-lpthread $LIBS"
- CFLAGS="-std=c11 -g -O2"
-- CXXFLAGS="-std=c++11 -fno-exceptions -fno-rtti -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)