From 648aeec08b7f6901ea7d08705e547390cfeed779 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 10 Jun 2021 16:07:48 +0300 Subject: [PATCH] Bring back explicit glibc platform --- toolchain/defs.bzl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/toolchain/defs.bzl b/toolchain/defs.bzl index fdc9da5..ee90492 100644 --- a/toolchain/defs.bzl +++ b/toolchain/defs.bzl @@ -54,6 +54,7 @@ TARGET_CONFIGS_LISTOFLISTS = [[ constraint_values=[ "@platforms//os:linux", "@platforms//cpu:{}".format(cpu), + ":gnu.2.19", ], tool_paths={"ld": "ld.lld"}, ), @@ -192,6 +193,11 @@ def zig_build_macro(absolute_path, zig_include_root): constraint_setting = ":libc", ) + native.constraint_value( + name = "gnu.2.19", + constraint_setting = ":libc", + ) + lazy_filegroups = {} for target_config in TARGET_CONFIGS: