Skip to content

Commit ae0a6c9

Browse files
nresarecopybara-github
authored andcommitted
Enable user_link_flags_feature for macosx cc_toolchain_config
This will cause the values passed in the link_libs parameters to not get silently dropped on macOS 12 Monterey, and fix the problem where the command line dev tools toolchain will output C++ binaries fails to start with a segmentation fault error. Fixes: bazelbuild#14273 Closes bazelbuild#14275. PiperOrigin-RevId: 411840375
1 parent 7f74878 commit ae0a6c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/cpp/unix_cc_toolchain_config.bzl

+1
Original file line numberDiff line numberDiff line change
@@ -1243,6 +1243,7 @@ def _impl(ctx):
12431243
coverage_feature,
12441244
default_compile_flags_feature,
12451245
default_link_flags_feature,
1246+
user_link_flags_feature,
12461247
fdo_optimize_feature,
12471248
supports_dynamic_linker_feature,
12481249
dbg_feature,

0 commit comments

Comments
 (0)