summaryrefslogtreecommitdiffstats
path: root/grpc-build.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-04-09 10:05:30 +0200
committerRemi Collet <remi@remirepo.net>2018-04-09 10:05:30 +0200
commitd919cb9ff5c52355f7fff470cbe47f6f3b5fe5aa (patch)
tree216733d6b5221587fa40dd54500bfb6e302791f0 /grpc-build.patch
parent5f531fb22e332029d54a28f89a0bc0126921fc4c (diff)
v1.11.0RC1 (beta)
Diffstat (limited to 'grpc-build.patch')
-rw-r--r--grpc-build.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/grpc-build.patch b/grpc-build.patch
index 6403b0b..3317c74 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 08:54:24.472418287 +0200
-+++ ./config.m4 2018-04-09 08:55:26.124761575 +0200
-@@ -11,8 +11,8 @@ if test "$PHP_GRPC" != "no"; then
+--- ./config.m4.rpm 2018-04-09 09:53:39.927037294 +0200
++++ ./config.m4 2018-04-09 09:54:28.015307629 +0200
+@@ -12,8 +12,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="$CFLAGS -std=c11"
-+ CXXFLAGS="$CXXFLAGS -std=c++11 -fno-exceptions -fno-rtti"
+- CFLAGS="-Wall -Werror -Wno-parentheses-equality -Wno-unused-value -std=c11 -g -O2 -D PB_FIELD_16BIT=1"
+- CXXFLAGS="-std=c++11 -fno-exceptions -fno-rtti -g -O2 -D PB_FIELD_16BIT=1"
++ CFLAGS="$CFLAGS -std=c11 -D PB_FIELD_16BIT=1"
++ CXXFLAGS="$CXXFLAGS -std=c++11 -fno-exceptions -fno-rtti -D PB_FIELD_16BIT=1"
GRPC_SHARED_LIBADD="-lpthread $GRPC_SHARED_LIBADD"
PHP_REQUIRE_CXX()
PHP_ADD_LIBRARY(pthread)