Optimization is now working.

This commit is contained in:
Joshua Haberman 2022-05-10 02:06:31 +00:00
parent 1f3c00eaac
commit 14803e6f63

View File

@ -6,6 +6,7 @@ load(
"flag_group",
"flag_set",
"tool_path",
"with_feature_set",
)
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:
features.append(