From 527ebbc863262e2193f0d9e88236428a00205866 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Fri, 1 Jul 2022 13:54:03 +0300 Subject: [PATCH] fastbuild: replace -gmlt with -O0 - -gmlt is a noop in zig, because -g is a default anyway. - -O0 was fixed in ziglang/zig 02ba3cb25cc8ee2637c6fb7bcb935722490ba05c --- toolchain/zig_toolchain.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/zig_toolchain.bzl b/toolchain/zig_toolchain.bzl index a93bde5..eeb4b64 100644 --- a/toolchain/zig_toolchain.bzl +++ b/toolchain/zig_toolchain.bzl @@ -75,7 +75,7 @@ def _compilation_mode_features(ctx): actions = actions, flag_groups = [ flag_group( - flags = ["-gmlt", "-fno-lto", "-Wl,-S"], + flags = ["-fno-lto", "-Wl,-S","-O0"], ), ], ),