mirror of https://github.com/bazelbuild/rules_cc
Fix action label evaluation in cc_sysroot
BEGIN_PUBLIC Fix action label evaluation in cc_sysroot Explicitly converts action labels in cc_sysroot to Label objects to address issues where the labels were being evaluated as relative to the module instantiating cc_sysroot rules. END_PUBLIC PiperOrigin-RevId: 667520654 Change-Id: Ia64306cc172dfaa747ef28a92390bcd90296b109
This commit is contained in:
parent
2480c90525
commit
a778282a15
|
@ -29,9 +29,9 @@ def cc_sysroot(name, sysroot, **kwargs):
|
|||
cc_args(
|
||||
name = name,
|
||||
actions = [
|
||||
"//cc/toolchains/actions:cpp_compile_actions",
|
||||
"//cc/toolchains/actions:c_compile",
|
||||
"//cc/toolchains/actions:link_actions",
|
||||
Label("//cc/toolchains/actions:cpp_compile_actions"),
|
||||
Label("//cc/toolchains/actions:c_compile"),
|
||||
Label("//cc/toolchains/actions:link_actions"),
|
||||
],
|
||||
args = ["--sysroot={sysroot}"],
|
||||
format = {"sysroot": sysroot},
|
||||
|
|
Loading…
Reference in New Issue