Skip to content

Commit

Permalink
Enable user_link_flags_feature for macosx cc_toolchain_config (bazelb…
Browse files Browse the repository at this point in the history
…uild#14313)

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
  • Loading branch information
nresare authored Nov 24, 2021
1 parent 299e50a commit e53ae63
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 @@ -1243,6 +1243,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 e53ae63

Please sign in to comment.