Skip to content

Commit da406f2

Browse files
committed
toolchain: Set link_libs rather than link_flags
without this our TSAN/MSAN CI fails as it clobbers our setup to use the instrumented stdlib Signed-off-by: Ryan Northey <[email protected]>
1 parent 43e5dc4 commit da406f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

toolchain/cc_toolchain_config.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def cc_toolchain_config(
276276
else:
277277
# For single-platform builds, we can statically link the bundled
278278
# libraries.
279-
link_flags.extend([
279+
link_libs.extend([
280280
"-l:libc++.a",
281281
"-l:libc++abi.a",
282282
])
@@ -294,7 +294,7 @@ def cc_toolchain_config(
294294
"-stdlib=libc++",
295295
]
296296

297-
link_flags.extend([
297+
link_libs.extend([
298298
"-l:libc++.a",
299299
"-l:libc++abi.a",
300300
])

0 commit comments

Comments
 (0)