https://sourceware.org/bugzilla/show_bug.cgi?id=24498
--- Comment #10 from kloczek <kloczko.tomasz at gmail dot com> --- > I would add a configure option --enable-lto that will append -flto to > {C,LD}FLAGS. Please don't do that. LTO can be driven using only env variable. % CFLAGS="<clto_cflags>" LDFLAGS="<lto_ldflags>" ./configure Please use KISS principle and do not implement something which can be already done other way *without* touching existing code. PS. Changing {C,LD}FLAGS is not only part of using LTO. You need to pass NM, RANLIB and AR env variables. -- You are receiving this mail because: You are on the CC list for the bug.