Skip to content

Commit e943e96

Browse files
committed
Ensure that cc_clang_binary rules have access to sysroot glibc
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
1 parent 40b60b8 commit e943e96

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bazel/toolchain_transitions.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ cc_clang_binary = meta.wrap_with_transition(
2929
native.cc_binary,
3030
{
3131
"@//bazel/cc_toolchains:compiler": meta.replace_with("clang"),
32+
"@//bazel/cc_toolchains:libc_version": meta.replace_with("glibc2_36"),
3233
},
3334
executable = True,
3435
)

0 commit comments

Comments
 (0)