Skip to content

Commit 885ae7e

Browse files
authored
Revert "Add -dead_strip in default opt link flags for darwin (bazelbuild#17312)" (bazelbuild#17696)
This reverts commit 0f9912b to fix the regression reported in bazelbuild#17686
1 parent 755cd4b commit 885ae7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/cpp/unix_cc_configure.bzl

+1-1
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ def configure_unix_toolchain(repository_ctx, cpu_value, overriden_tools):
617617
],
618618
),
619619
"%{opt_link_flags}": get_starlark_list(
620-
["-Wl,-dead_strip"] if darwin else _add_linker_option_if_supported(
620+
[] if darwin else _add_linker_option_if_supported(
621621
repository_ctx,
622622
cc,
623623
"-Wl,--gc-sections",

0 commit comments

Comments
 (0)