Commit 292154b2 authored by Mostyn Bramley-Moore's avatar Mostyn Bramley-Moore Committed by Commit Bot

ijar should use a hermetic zlib

I assume that the pre-existing ldflags setting is a simple translation
of linkopts = ["-lz"] from the source bazel BUILD file- which has a
comment saying it should be replaced because it's non-hermetic.  We have
a hermetic zlib in chromium, so let's use it.

Change-Id: I3b794b910be88ef34a8d5d13f4e06fb46f30e7c0
Reviewed-on: https://chromium-review.googlesource.com/c/1475188Reviewed-by: default avatarDirk Pranke <dpranke@chromium.org>
Commit-Queue: Mostyn Bramley-Moore <mostynb@vewd.com>
Cr-Commit-Position: refs/heads/master@{#632838}
parent fc5b8af4
......@@ -20,11 +20,14 @@ if (current_toolchain == host_toolchain) {
sources += [ "mapped_file_unix.cc" ]
}
deps = [
"//third_party/zlib",
]
# Always build release since this is a build tool.
if (is_debug) {
configs -= [ "//build/config:debug" ]
configs += [ "//build/config:release" ]
}
ldflags = [ "-lz" ]
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment