diff --git a/tools/cpp/unix_cc_configure.bzl b/tools/cpp/unix_cc_configure.bzl index ccbc948ecd0d08..2056e5c41c7137 100644 --- a/tools/cpp/unix_cc_configure.bzl +++ b/tools/cpp/unix_cc_configure.bzl @@ -275,7 +275,7 @@ def _crosstool_content(repository_ctx, cc, cpu_value, darwin): repository_ctx, cc, "-Wl,-z,relro,-z,now", - "-z,relro,-z,now", + "-z", ) + ( [ "-undefined",