diff options
author | Remi Collet <remi@remirepo.net> | 2017-09-19 06:31:24 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-09-19 06:31:24 +0200 |
commit | 5f1e3fd3c3081bfcc20e682f99056fb12c84a493 (patch) | |
tree | 99f86fe06817b1501798885a05c4f2906bccd3cb /grpc-build.patch | |
parent | b7b8b24a03d3af656e5dd1f786827ce50cb8e03f (diff) |
v1.6.0 (stable)
Diffstat (limited to 'grpc-build.patch')
-rw-r--r-- | grpc-build.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/grpc-build.patch b/grpc-build.patch index efff313..9c935c5 100644 --- a/grpc-build.patch +++ b/grpc-build.patch @@ -6,9 +6,9 @@ diff -up ./config.m4.rpm ./config.m4 LIBS="-lpthread $LIBS" - CFLAGS="-Wall -Werror -Wno-parentheses-equality -Wno-unused-value -std=c11" -- CXXFLAGS="-std=c++11 -fno-exceptions -fno-rtti" +- CXXFLAGS="-std=c++11" + CFLAGS="$CFLAGS -Wno-parentheses-equality -Wno-unused-value -std=c11" -+ CXXFLAGS="$CXXFLAGS -std=c++11 -fno-exceptions -fno-rtti" ++ CXXFLAGS="$CXXFLAGS -std=c++11" GRPC_SHARED_LIBADD="-lpthread $GRPC_SHARED_LIBADD" PHP_REQUIRE_CXX() PHP_ADD_LIBRARY(pthread) |