This is an automated email from the ASF dual-hosted git repository. chhsiao pushed a commit to branch 1.4.x in repository https://gitbox.apache.org/repos/asf/mesos.git
commit 6791ab059b9f2fb3968a54cb257d219c28fdcba1 Author: Benno Evers <[email protected]> AuthorDate: Wed Oct 17 22:46:54 2018 +0200 Disabled warnings-as-errors for gRPC build. --- 3rdparty/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/3rdparty/Makefile.am b/3rdparty/Makefile.am index 2182837..c00cd02 100644 --- a/3rdparty/Makefile.am +++ b/3rdparty/Makefile.am @@ -310,6 +310,8 @@ LIB_GRPC = $(GRPC)/libs/opt/libgrpc++.a \ $(LIB_GRPC): $(GRPC)-build-stamp +# We use EXTRA_CPPFLAGS to pass `-Wno-error`, because that one needs to be +# appended and not prepended to the constructed flags. $(GRPC)-build-stamp: $(GRPC)-stamp \ $(PROTOBUF)-build-stamp cd $(GRPC) && \ @@ -320,6 +322,7 @@ $(GRPC)-build-stamp: $(GRPC)-stamp \ $(SSL_LINKER_FLAGS) \ $(ZLIB_LINKER_FLAGS)" \ $(MAKE) $(AM_MAKEFLAGS) \ + EXTRA_CPPFLAGS=-Wno-error \ HAS_PKG_CONFIG=false \ NO_PROTOC=false \ PROTOC=$(PROTOC)
