diff options
author | Sam James <sam@gentoo.org> | 2022-05-30 20:58:40 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-05-30 20:59:17 +0100 |
commit | db7d9441f3bf6b56d6000b5b1255df0a4e955a99 (patch) | |
tree | 757e697269d4592ba57a5726692eed58ba83cb0a | |
parent | gnome-extra/gnome-boxes: Version bump to 42.1 (diff) | |
download | gentoo-db7d9441.tar.gz gentoo-db7d9441.tar.bz2 gentoo-db7d9441.zip |
toolchain.eclass: add comment above LTO logic
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | eclass/toolchain.eclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 035ee7714d6f..0ae7f7dd3839 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1278,6 +1278,8 @@ toolchain_src_configure() { confgcc+=( $(use_with zstd) ) fi + # This only controls whether the compiler *supports* LTO, not whether + # it's *built using* LTO. Hence we do it without a USE flag. if tc_version_is_at_least 4.6 ; then confgcc+=( --enable-lto ) elif tc_version_is_at_least 4.5 ; then |