diff options
author | 2016-04-07 08:04:20 +0000 | |
---|---|---|
committer | 2016-04-07 11:51:15 +0000 | |
commit | 74ff930c5b54a6f1ee7cefaf724e2923a3a968f5 (patch) | |
tree | ffa3a3a7138522c3cd347dc6757bd4de63e1d26b /third_party | |
parent | 6c2276a7dd10447128d9ae92d25fdc45579e63fb (diff) |
Use the zlib version in third_party instead of whatever is installed.
This was the last dependency of Bazel that is pulled in from the host system, so now (at least as dependencies go) the source tree of Bazel is now self-contained.
--
MOS_MIGRATED_REVID=119243670
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/ijar/BUILD | 5 | ||||
-rw-r--r-- | third_party/zlib/BUILD | 1 |
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"], ) |