Skip to content

Commit

Permalink
Enable user_link_flags_feature for macosx cc_toolchain_config (#14319)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
nresare authored Nov 24, 2021
1 parent 02ad3e3 commit 039c72e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/cpp/unix_cc_toolchain_config.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -1216,6 +1216,7 @@ def _impl(ctx):
coverage_feature,
default_compile_flags_feature,
default_link_flags_feature,
user_link_flags_feature,
fdo_optimize_feature,
supports_dynamic_linker_feature,
dbg_feature,
Expand Down

0 comments on commit 039c72e

Please sign in to comment.