Re: [PATCH, driver specs] Put -flto-partition= on the collect2 c/l

2018-08-20 Thread Richard Biener
On Sat, Aug 18, 2018 at 9:00 PM Iain Sandoe wrote: > > Hi > > While working on the Darwin LTO issues I noticed that collect2 looks for > "-flto-partition=none” in its command line option, but it doesn’t get passed. > > So - is the attached patch the right idea, or should collect2 be looking in >

[PATCH, driver specs] Put -flto-partition= on the collect2 c/l

2018-08-18 Thread Iain Sandoe
Hi While working on the Darwin LTO issues I noticed that collect2 looks for "-flto-partition=none” in its command line option, but it doesn’t get passed. So - is the attached patch the right idea, or should collect2 be looking in the COLLECT_GCC_OPTIONS as the lto-wrapper does? (or maybe it s