On Fri, Jan 06, 2017 at 05:58:05PM +0100, Christophe Lyon wrote: > > Trying now: > > > > 2017-01-06 Jakub Jelinek <ja...@redhat.com> > > > > * Makefile.in (CFLAGS, CPPFLAGS, LDFLAGS): Remove -fno-lto. > > (NOLTO_FLAGS): New variable. > > (ALL_CFLAGS): Use it. > > * configure.ac (nolto_flags): New ACX_PROG_CC_WARNING_OPTS, > > check for whether -fno-lto works. > > * configure: Regenerated. > > > OK thanks for the prompt fix, I'll let you know if it doesn't work.
The patch passed bootstrap (non- bootstrap-lto) on x86_64-linux and i686-linux and I see -fno-lto being used everywhere I expected (with bootstrap compiler that does support -fno-lto). Ok for trunk, if it works even for Christophe? Jakub