Skip to content

Commit

Permalink
Revert "Set the LD environment variable (bazel-contrib#1068)"
Browse files Browse the repository at this point in the history
This reverts commit c62e551.
  • Loading branch information
jsharpe committed Jan 20, 2024
1 parent c2e0974 commit e8461d0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions foreign_cc/private/cc_toolchain_util.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ CxxToolsInfo = provider(
cxx = "C++ compiler",
cxx_linker_static = "C++ linker to link static library",
cxx_linker_executable = "C++ linker to link executable",
ld = "linker",
),
)

Expand Down Expand Up @@ -217,7 +216,6 @@ def get_tools_info(ctx):
feature_configuration = feature_configuration,
action_name = ACTION_NAMES.cpp_link_executable,
),
ld = cc_toolchain.ld_executable,
)

def get_flags_info(ctx, link_output_file = None):
Expand Down
1 change: 0 additions & 1 deletion foreign_cc/private/make_env_vars.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ _MAKE_TOOLS = {
"AR": "cxx_linker_static",
"CC": "cc",
"CXX": "cxx",
"LD": "ld",
# missing: cxx_linker_executable
}

Expand Down

0 comments on commit e8461d0

Please sign in to comment.