1
Fork 0

[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.
nix
Motiejus Jakštys 2022-06-21 08:45:03 +03:00
parent b73d167c6c
commit 4cfc30dd1c
1 changed files with 1 additions and 1 deletions

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"],
),
],
),