From e274da343cecc2507688552d5fc13170906e89ce Mon Sep 17 00:00:00 2001 From: aldersondrive Date: Thu, 23 Jan 2020 09:31:57 -0500 Subject: [PATCH] Tweak third_party/BUILD for OpenBSD. Partial commit for third_party/*, see #10639. Signed-off-by: Philipp Wollermann --- third_party/BUILD | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/third_party/BUILD b/third_party/BUILD index b458d521fd11be..3a5ca3e3229383 100644 --- a/third_party/BUILD +++ b/third_party/BUILD @@ -469,6 +469,7 @@ UNNECESSARY_DYNAMIC_LIBRARIES = select({ "//src/conditions:arm": "*.so *.jnilib *.dll", "//src/conditions:linux_aarch64": "*.so *.jnilib *.dll", "//src/conditions:linux_ppc": "*.so *.jnilib *.dll", + "//src/conditions:openbsd": "*.so *.jnilib *.dll", # Play it safe -- better have a big binary than a slow binary # zip -d does require an argument. Supply something bogus. "//conditions:default": "*.bogusextension", @@ -627,6 +628,11 @@ config_setting( values = {"host_cpu": "freebsd"}, ) +config_setting( + name = "openbsd", + values = {"host_cpu": "openbsd"}, +) + config_setting( name = "s390x", values = {"host_cpu": "s390x"},