Skip to content

Commit 032b73c

Browse files
committed
encode that this is required
1 parent c050450 commit 032b73c

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

crosstool/BUILD

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
load("@build_bazel_apple_support//rules:apple_genrule.bzl", "apple_genrule")
2-
load(":universal_exec_tool.bzl", "force_exec", "universal_exec_tool")
2+
load(":universal_exec_tool.bzl", "universal_exec_tool")
33

44
package(default_visibility = ["//visibility:public"])
55

@@ -34,18 +34,6 @@ universal_exec_tool(
3434
out = "libtool",
3535
)
3636

37-
genrule(
38-
name = "exec_cc_wrapper.target_config",
39-
srcs = ["osx_cc_wrapper.sh.tpl"],
40-
outs = ["cc_wrapper.sh"],
41-
cmd = "cp $(SRCS) $(OUTS)", # Make sure this script is always beside wrapped_clang
42-
)
43-
44-
force_exec(
45-
name = "exec_cc_wrapper",
46-
target = ":exec_cc_wrapper.target_config",
47-
)
48-
4937
# TODO: Remove when we drop bazel 6.x
5038
filegroup(
5139
name = "xcrunwrapper",

crosstool/cc_toolchain_config.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2311,7 +2311,7 @@ please file an issue at https://github.com/bazelbuild/apple_support/issues/new
23112311

23122312
set_install_name = feature(
23132313
name = "set_install_name",
2314-
enabled = getattr(ctx.fragments.cpp, "do_not_use_macos_set_install_name", True),
2314+
enabled = True,
23152315
flag_sets = [
23162316
flag_set(
23172317
actions = [

0 commit comments

Comments
 (0)