1

[fastbuild] use -fno-lto

This is very cache-unfriendly, because quite a lot of work is done
during the final linking stage. Let's see how this improves performance
of fastbuild.
This commit is contained in:
Motiejus Jakštys 2022-06-21 08:45:03 +03:00
parent b73d167c6c
commit 4cfc30dd1c

View File

@ -75,7 +75,7 @@ def _compilation_mode_features(ctx):
actions = actions,
flag_groups = [
flag_group(
flags = ["-gmlt", "-Wl,-S"],
flags = ["-gmlt", "-fno-lto", "-Wl,-S"],
),
],
),