diff options
Diffstat (limited to 'grpc-build.patch')
| -rw-r--r-- | grpc-build.patch | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/grpc-build.patch b/grpc-build.patch index c332626..507a8e3 100644 --- a/grpc-build.patch +++ b/grpc-build.patch @@ -1,14 +1,15 @@ -diff -up ./config.m4.rpm ./config.m4 ---- ./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 +diff -up grpc-1.82.0/config.m4.rpm grpc-1.82.0/config.m4 +--- grpc-1.82.0/config.m4.rpm 2026-07-02 09:50:45.000000000 +0200 ++++ grpc-1.82.0/config.m4 2026-07-03 08:09:35.143030893 +0200 +@@ -19,9 +19,8 @@ if test "$PHP_GRPC" != "no"; then LIBS="-lpthread $LIBS" -- CFLAGS="-std=c11 -g -O2" -- CXXFLAGS="-std=c++17 -fno-exceptions -fno-rtti -g -O2" -+ CFLAGS="$CFLAGS -std=c11" -+ CXXFLAGS="$CXXFLAGS -std=c++17 -fno-exceptions -fno-rtti" +- dnl -Wno-error=attributes needed by UPB https://github.com/grpc/grpc/issues/42192 +- CFLAGS="-std=c11 -g -O2 -Wno-error=attributes" +- CXXFLAGS="-std=c++17 -fno-exceptions -fno-rtti -g -O2 -Wno-error=attributes" ++ CFLAGS="$CFLAGS -std=c11 -Wno-error=attributes" ++ CXXFLAGS="$CXXFLAGS -std=c++17 -fno-exceptions -fno-rtti -Wno-error=attributes" GRPC_SHARED_LIBADD="-lpthread $GRPC_SHARED_LIBADD" PHP_REQUIRE_CXX() PHP_ADD_LIBRARY(pthread) |
