summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Smiley <keithbsmiley@gmail.com>2023-07-07 12:58:14 -0700
committerGitHub <noreply@github.com>2023-07-07 12:58:14 -0700
commitec2ee859fd853009a6b346aaac51cd2c08c0d8a4 (patch)
tree6dd28dbc289d0f24d11258973b8c4a08ef7057bc
parent471fba3de9418dd080a5518db53124cafb8b279b (diff)
downloadbazelbuild-apple_support-ec2ee859fd853009a6b346aaac51cd2c08c0d8a4.tar.gz
Replace DEVELOPER_DIR remapping with '/PLACEHOLDER_DEVELOPER_DIR' (#224)
This makes it easier to understand this variable is different from `$DEVELOPER_DIR` and also makes it "absolute" so that tools like index-import don't try to absolutize it.
-rw-r--r--crosstool/cc_toolchain_config.bzl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crosstool/cc_toolchain_config.bzl b/crosstool/cc_toolchain_config.bzl
index 5aab84e..a31f452 100644
--- a/crosstool/cc_toolchain_config.bzl
+++ b/crosstool/cc_toolchain_config.bzl
@@ -1804,7 +1804,7 @@ def _impl(ctx):
ACTION_NAMES.objcpp_compile,
],
flag_groups = [flag_group(flags = [
- "-fdebug-prefix-map=__BAZEL_XCODE_DEVELOPER_DIR__=DEVELOPER_DIR",
+ "-fdebug-prefix-map=__BAZEL_XCODE_DEVELOPER_DIR__=/PLACEHOLDER_DEVELOPER_DIR",
])],
),
],