Re: [Patch] Fix lto-wrapper link flags

2018-02-26 Thread Richard Biener
On Mon, Feb 19, 2018 at 11:11 AM, Christophe Lyon wrote: > Hi, > > I think there's a typo in gcc/Makefile.in, where lto-wrapper is linked > using $(ALL_COMPILERFLAGS) while it should be $(ALL_LINKERFLAGS). > > I noticed this while playing with linker flags, and not seeing them > when linking lto-w

[Patch] Fix lto-wrapper link flags

2018-02-19 Thread Christophe Lyon
Hi, I think there's a typo in gcc/Makefile.in, where lto-wrapper is linked using $(ALL_COMPILERFLAGS) while it should be $(ALL_LINKERFLAGS). I noticed this while playing with linker flags, and not seeing them when linking lto-wrapper. It seems obvious, but maybe I'm missing something? OK for tru