[Wconversion] Suppress warnings
Bug: 5816
Change-Id: Ife683e0751ff8dd47e1339e85a257ead71d2d9b7
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/glog/+/426266
Reviewed-by: David Turner <digit@google.com>
diff --git a/BUILD.gn b/BUILD.gn
index 0dc7398..4c1642c 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -30,6 +30,7 @@
config("glog_config") {
visibility = [ ":*" ]
include_dirs = [ "src" ]
+ cflags = [ "-Wno-conversion" ]
}
static_library("glog") {
@@ -47,10 +48,6 @@
if (current_os == "linux") {
defines = [ "HAVE_SYSCALL_H" ]
- cflags_cc = [
- "-Wno-sign-compare",
- "-Wno-conversion",
- ]
+ cflags_cc = [ "-Wno-sign-compare" ]
}
- cflags = [ "-Wno-conversion" ]
}