Optimization is now working.

pull/9941/head
Joshua Haberman 3 years ago
parent 1f3c00eaac
commit 14803e6f63
  1. 9
      toolchain/cc_toolchain_config.bzl

@ -6,6 +6,7 @@ load(
"flag_group", "flag_group",
"flag_set", "flag_set",
"tool_path", "tool_path",
"with_feature_set",
) )
all_link_actions = [ all_link_actions = [
@ -172,7 +173,13 @@ def _impl(ctx):
], ],
) )
features = [linker_flags, compiler_flags, sysroot_flags] features = [
linker_flags,
compiler_flags,
sysroot_flags,
feature(name = "dbg"),
feature(name = "opt"),
]
if "mingw" in ctx.attr.target_full_name: if "mingw" in ctx.attr.target_full_name:
features.append( features.append(

Loading…
Cancel
Save