aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rw-r--r--third_party/ijar/BUILD5
-rw-r--r--third_party/zlib/BUILD1
2 files changed, 2 insertions, 4 deletions
diff --git a/third_party/ijar/BUILD b/third_party/ijar/BUILD
index 8adb0f25ec..85245de548 100644
--- a/third_party/ijar/BUILD
+++ b/third_party/ijar/BUILD
@@ -24,10 +24,7 @@ cc_library(
"mapped_file.h",
"zip.h",
],
- # TODO(bazel-team): we should replace the -lz flag, it is non-hermetic.
- # We should instead use a new_local_repository once the autoconf
- # mechanism is ready.
- linkopts = ["-lz"],
+ deps = ["//third_party/zlib"],
)
cc_binary(
diff --git a/third_party/zlib/BUILD b/third_party/zlib/BUILD
index 5ac0087345..98751e60f3 100644
--- a/third_party/zlib/BUILD
+++ b/third_party/zlib/BUILD
@@ -4,6 +4,7 @@ cc_library(
name = "zlib",
srcs = glob(["*.c"]),
hdrs = glob(["*.h"]),
+ copts = ["-Wno-error"],
includes = ["."],
visibility = ["//visibility:public"],
)