Skip to content
Commit Detail

Commit 26446d8

Author
Felix Hanau <felix@cloudflare.com> 2024-06-21 12:22:39 -0400
Parents
23498d6
Tree
584b30c
[bazel] Only apply -Wl,-O2 under release configuration

We turned on linker ICF as enabled by lld's O2 flag by default after
experiencing binary size constraints on CI, but this can slow down linking by
more than 2x. Only enable it for release builds.

Files changed

1 file changed~1 modified