chore(zlib.BUILD): use @platforms instead of @bazel_tools

pull/13326/head
4kangjc 2 years ago
parent 871fd27836
commit 205b10a771
  1. 2
      third_party/zlib.BUILD

@ -58,7 +58,7 @@ cc_library(
] + _ZLIB_HEADERS, ] + _ZLIB_HEADERS,
hdrs = _ZLIB_PREFIXED_HEADERS, hdrs = _ZLIB_PREFIXED_HEADERS,
copts = select({ copts = select({
"@bazel_tools//src/conditions:windows": [], "@platforms//os:windows": [],
"//conditions:default": [ "//conditions:default": [
"-Wno-deprecated-non-prototype", "-Wno-deprecated-non-prototype",
"-Wno-unused-variable", "-Wno-unused-variable",

Loading…
Cancel
Save