From d140eec94733b1b516415b68d3d986d18a6b1794 Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Thu, 25 Apr 2019 17:51:32 -0700 Subject: [PATCH] Disable -Wunused-function for BoringSSL This is the only warning produced by this library. It seems like upstream they have this off, or they compile things that we're not that use these other functions. --- third_party/com_github_grpc_grpc_swift/BUILD.overlay | 1 + 1 file changed, 1 insertion(+) diff --git a/third_party/com_github_grpc_grpc_swift/BUILD.overlay b/third_party/com_github_grpc_grpc_swift/BUILD.overlay index 664799378..1e13a21b0 100644 --- a/third_party/com_github_grpc_grpc_swift/BUILD.overlay +++ b/third_party/com_github_grpc_grpc_swift/BUILD.overlay @@ -31,6 +31,7 @@ cc_library( "Sources/BoringSSL/third_party/**/*.h", ]), hdrs = glob(["Sources/BoringSSL/include/**/*.h"]), + copts = ["-Wno-unused-function"], includes = ["Sources/BoringSSL/include"], )