diff options
author | Remi Collet <remi@remirepo.net> | 2017-08-22 16:34:44 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-08-22 16:34:44 +0200 |
commit | 4a7c20eb8a5734c6c409fc4a0d15a27eee8e8275 (patch) | |
tree | 5965403b27b7681b887bcf713f1a8c72c1a1719f /grpc-build.patch | |
parent | 9153f92e2e0a7ec3b298aefebcc1701aa579736d (diff) |
honour default RPM build options
Diffstat (limited to 'grpc-build.patch')
-rw-r--r-- | grpc-build.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/grpc-build.patch b/grpc-build.patch new file mode 100644 index 0000000..9c935c5 --- /dev/null +++ b/grpc-build.patch @@ -0,0 +1,14 @@ +diff -up ./config.m4.rpm ./config.m4 +--- ./config.m4.rpm 2017-08-22 16:28:30.000000000 +0200 ++++ ./config.m4 2017-08-22 16:28:56.000000000 +0200 +@@ -11,8 +11,8 @@ if test "$PHP_GRPC" != "no"; then + + LIBS="-lpthread $LIBS" + +- CFLAGS="-Wall -Werror -Wno-parentheses-equality -Wno-unused-value -std=c11" +- CXXFLAGS="-std=c++11" ++ CFLAGS="$CFLAGS -Wno-parentheses-equality -Wno-unused-value -std=c11" ++ CXXFLAGS="$CXXFLAGS -std=c++11" + GRPC_SHARED_LIBADD="-lpthread $GRPC_SHARED_LIBADD" + PHP_REQUIRE_CXX() + PHP_ADD_LIBRARY(pthread) |