summaryrefslogtreecommitdiffstats
path: root/grpc-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'grpc-build.patch')
-rw-r--r--grpc-build.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/grpc-build.patch b/grpc-build.patch
index 6674ffe..c332626 100644
--- a/grpc-build.patch
+++ b/grpc-build.patch
@@ -6,9 +6,9 @@ diff -up ./config.m4.rpm ./config.m4
LIBS="-lpthread $LIBS"
- CFLAGS="-std=c11 -g -O2"
-- CXXFLAGS="-std=c++14 -fno-exceptions -fno-rtti -g -O2"
+- CXXFLAGS="-std=c++17 -fno-exceptions -fno-rtti -g -O2"
+ CFLAGS="$CFLAGS -std=c11"
-+ CXXFLAGS="$CXXFLAGS -std=c++14 -fno-exceptions -fno-rtti"
++ CXXFLAGS="$CXXFLAGS -std=c++17 -fno-exceptions -fno-rtti"
GRPC_SHARED_LIBADD="-lpthread $GRPC_SHARED_LIBADD"
PHP_REQUIRE_CXX()
PHP_ADD_LIBRARY(pthread)