From c4c33dd78f607b35e3cc59cc8dcfb4387c857595 Mon Sep 17 00:00:00 2001 From: Brentley Jones Date: Thu, 25 Apr 2024 15:49:18 -0500 Subject: [PATCH] Reapply "Add `gcc_quoting_for_param_files` feature (#314)" This reverts commit cf271a330b08a3bbd8ad61241d03787683d5a1c5. Signed-off-by: Brentley Jones --- crosstool/cc_toolchain_config.bzl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/crosstool/cc_toolchain_config.bzl b/crosstool/cc_toolchain_config.bzl index 2eff494..c27e0d7 100644 --- a/crosstool/cc_toolchain_config.bzl +++ b/crosstool/cc_toolchain_config.bzl @@ -13,6 +13,7 @@ # limitations under the License. """A C++ toolchain configuration rule for macOS.""" +load("@bazel_features//:features.bzl", "bazel_features") load("@bazel_tools//tools/build_defs/cc:action_names.bzl", "ACTION_NAMES") load( "@bazel_tools//tools/cpp:cc_toolchain_config_lib.bzl", @@ -1041,6 +1042,11 @@ please file an issue at https://github.com/bazelbuild/apple_support/issues/new requires = [feature_set(features = ["coverage"])], ) + gcc_quoting_for_param_files_feature = feature( + name = "gcc_quoting_for_param_files", + enabled = bazel_features.cc.fixed_dsym_path_quoting, + ) + default_link_flags_feature = feature( name = "default_link_flags", enabled = True, @@ -2577,6 +2583,7 @@ please file an issue at https://github.com/bazelbuild/apple_support/issues/new no_objc_arc_feature, apple_env_feature, relative_ast_path_feature, + gcc_quoting_for_param_files_feature, user_link_flags_feature, default_link_flags_feature, no_deduplicate_feature,