diff options
| author | Remi Collet <remi@remirepo.net> | 2026-07-03 10:54:35 +0200 |
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2026-07-03 10:54:35 +0200 |
| commit | 4b3907a2ca536149d578d180c7acddbbc74547ae (patch) | |
| tree | 1249a2bff53e9f769fe987ae10d6d02e850ab814 /grpc-build.patch | |
| parent | e290468ce77a696f4db41b8ee9be3fb6e75532bb (diff) | |
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) |
