Skip to content

Commit 039c72e

Browse files
authored
Enable user_link_flags_feature for macosx cc_toolchain_config (#14319)
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: #14273 Closes #14275. PiperOrigin-RevId: 411840375
1 parent 02ad3e3 commit 039c72e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/cpp/unix_cc_toolchain_config.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1216,6 +1216,7 @@ def _impl(ctx):
12161216
coverage_feature,
12171217
default_compile_flags_feature,
12181218
default_link_flags_feature,
1219+
user_link_flags_feature,
12191220
fdo_optimize_feature,
12201221
supports_dynamic_linker_feature,
12211222
dbg_feature,

0 commit comments

Comments
 (0)