From 4a35cf9dc9c1759d733edc29842114c845fd5b4d Mon Sep 17 00:00:00 2001 From: Esun Kim Date: Wed, 2 Feb 2022 08:16:57 -0800 Subject: [PATCH] Removed php warning options (#28716) --- config.m4 | 2 +- templates/config.m4.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.m4 b/config.m4 index fcdeb81cdc4..1e48fb29070 100644 --- a/config.m4 +++ b/config.m4 @@ -18,7 +18,7 @@ if test "$PHP_GRPC" != "no"; then LIBS="-lpthread $LIBS" - CFLAGS="-Wall -Werror -Wno-parentheses-equality -Wno-unused-value -std=c11 -g -O2" + CFLAGS="-std=c11 -g -O2" CXXFLAGS="-std=c++11 -fno-exceptions -fno-rtti -g -O2" GRPC_SHARED_LIBADD="-lpthread $GRPC_SHARED_LIBADD" PHP_REQUIRE_CXX() diff --git a/templates/config.m4.template b/templates/config.m4.template index ad694511370..2618fb8e7fa 100644 --- a/templates/config.m4.template +++ b/templates/config.m4.template @@ -20,7 +20,7 @@ LIBS="-lpthread $LIBS" - CFLAGS="-Wall -Werror -Wno-parentheses-equality -Wno-unused-value -std=c11 -g -O2" + CFLAGS="-std=c11 -g -O2" CXXFLAGS="-std=c++11 -fno-exceptions -fno-rtti -g -O2" GRPC_SHARED_LIBADD="-lpthread $GRPC_SHARED_LIBADD" PHP_REQUIRE_CXX()