[lld] r286378 - [ELF] - Add separate form for -R alias.

Joerg Sonnenberger via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 9 14:09:07 PST 2016


On Wed, Nov 09, 2016 at 04:38:15PM -0000, George Rimar via llvm-commits wrote:
> Problem was not obvious and the reason was that we did not accept
> the separate form of -R. While invocation line contained it:
> cc -Wl,-R /usr/local/lib -o prog prog.c

This is a bug in the invocation. If anything, it should be:
  cc -Wl,-R -Wl,/usr/local/lib -o prog prog.c

Joerg


More information about the llvm-commits mailing list