https://bugs.kde.org/show_bug.cgi?id=338252

--- Comment #16 from Дилян Палаузов <dilyan.palau...@aegee.org> ---
People either want to compile everything with LTO, or nothing with LTO, or they
don't know about LTO.  Modifying /usr/local/etc/config.site is not the only
way, calling

  CFLAGS="-flto" ./configure

also works (if CFLAGS is not set in config.site) and is not "export"ed, as
those take precedence.  Doing

  ./configure && make CFLAGS='-flto'

does work, too
(https://www.gnu.org/software/make/manual/html_node/Overriding.html)

So people willing LTO either know the aforementioned ways to compile with LTO,
or they do not insist of having LTO.

In fact valgrind and php are the only software I am aware of that doesn't work
with LTO, php ignoring LDFLAGS from config.site and postgresql ignoring CFLAGS
from config.site, and all the rest is working with both the autoconf principles
and with LTO.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to