Bring back explicit glibc platform
This commit is contained in:
parent
31316fd30c
commit
648aeec08b
@ -54,6 +54,7 @@ TARGET_CONFIGS_LISTOFLISTS = [[
|
|||||||
constraint_values=[
|
constraint_values=[
|
||||||
"@platforms//os:linux",
|
"@platforms//os:linux",
|
||||||
"@platforms//cpu:{}".format(cpu),
|
"@platforms//cpu:{}".format(cpu),
|
||||||
|
":gnu.2.19",
|
||||||
],
|
],
|
||||||
tool_paths={"ld": "ld.lld"},
|
tool_paths={"ld": "ld.lld"},
|
||||||
),
|
),
|
||||||
@ -192,6 +193,11 @@ def zig_build_macro(absolute_path, zig_include_root):
|
|||||||
constraint_setting = ":libc",
|
constraint_setting = ":libc",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
native.constraint_value(
|
||||||
|
name = "gnu.2.19",
|
||||||
|
constraint_setting = ":libc",
|
||||||
|
)
|
||||||
|
|
||||||
lazy_filegroups = {}
|
lazy_filegroups = {}
|
||||||
|
|
||||||
for target_config in TARGET_CONFIGS:
|
for target_config in TARGET_CONFIGS:
|
||||||
|
Loading…
Reference in New Issue
Block a user