On Sat, Jul 25, 2020 at 12:09 AM Andreas Schwab <sch...@linux-m68k.org> wrote:
>
> On Jul 24 2020, Fangrui Song via Gcc-patches wrote:
>
> > This is to mimick nearly lines. collect2 should filter out options like 
> > -fno-lto, -flto, -fuse-ld= before passing to ld. -f* are handled by case 
> > 'f'. --ld-path needs its own `else if`.
>
> If you handle --ld-path as -fld-path then you don't need that.
>

--ld-path is a deliberate design choice. -f* is not suitable
(https://sourceware.org/pipermail/gcc/2020-July/233089.html )
clang has several other --*-path= (e.g. --cuda-path)

Reply via email to