diff options
Diffstat (limited to 'grpc-build.patch')
-rw-r--r-- | grpc-build.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/grpc-build.patch b/grpc-build.patch index 3317c74..f212fc0 100644 --- a/grpc-build.patch +++ b/grpc-build.patch @@ -5,10 +5,10 @@ diff -up ./config.m4.rpm ./config.m4 LIBS="-lpthread $LIBS" -- 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" +- CFLAGS="-Wall -Werror -Wno-parentheses-equality -Wno-unused-value -std=c11 -g -O2 -D PB_FIELD_32BIT=1" +- CXXFLAGS="-std=c++11 -fno-exceptions -fno-rtti -g -O2 -D PB_FIELD_32BIT=1" ++ CFLAGS="$CFLAGS -std=c11 -D PB_FIELD_32BIT=1" ++ CXXFLAGS="$CXXFLAGS -std=c++11 -fno-exceptions -fno-rtti -D PB_FIELD_32BIT=1" GRPC_SHARED_LIBADD="-lpthread $GRPC_SHARED_LIBADD" PHP_REQUIRE_CXX() PHP_ADD_LIBRARY(pthread) |