Paul Eggert wrote: > dealing with a USING_LTO flag is quite a > configuration hassle, and we should probably defer it until we need it > more than just for this.
-flto is not only a problem for the warnings that it introduces, but also because of the compiler bugs that it triggers. Fedora 44, for instance, ships a broken 'xgettext' binary due to -flto [1]. We can't really do anything about it at configure time. Bruno [1] https://lists.gnu.org/archive/html/bug-gettext/2026-05/msg00011.html
