From da406f27a11e189b89ae17dc5bfa3aee5c9064e6 Mon Sep 17 00:00:00 2001 From: Ryan Northey Date: Wed, 26 Nov 2025 14:25:04 +0000 Subject: [PATCH] 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 --- toolchain/cc_toolchain_config.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolchain/cc_toolchain_config.bzl b/toolchain/cc_toolchain_config.bzl index d7f532aa..3edc2986 100644 --- a/toolchain/cc_toolchain_config.bzl +++ b/toolchain/cc_toolchain_config.bzl @@ -276,7 +276,7 @@ def cc_toolchain_config( else: # For single-platform builds, we can statically link the bundled # libraries. - link_flags.extend([ + link_libs.extend([ "-l:libc++.a", "-l:libc++abi.a", ]) @@ -294,7 +294,7 @@ def cc_toolchain_config( "-stdlib=libc++", ] - link_flags.extend([ + link_libs.extend([ "-l:libc++.a", "-l:libc++abi.a", ])