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: