Skip to content

Commit 5142bdd

Browse files
committed
Use 'cc_wrapper_inner.sh' only on Linux platforms.
1 parent 160d654 commit 5142bdd

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

toolchain/BUILD.toolchain.tpl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,12 @@ filegroup(
3535
name = "internal-use-wrapped-tools",
3636
srcs = [
3737
"%{wrapper_bin_prefix}cc_wrapper.sh",
38-
"%{wrapper_bin_prefix}cc_wrapper_inner.sh",
39-
],
38+
] + select({
39+
"@platforms//os:linux": [
40+
"%{wrapper_bin_prefix}cc_wrapper_inner.sh",
41+
],
42+
"//conditions:default": [],
43+
}),
4044
visibility = ["//visibility:private"],
4145
)
4246

0 commit comments

Comments
 (0)