It has no effect on linking, but seems to be ignored by GNU ld.bfd. It causes ld.lld to terminate with an invalid argument error.
(Perhaps it was intended to be passed to ${CC} not through -Wl, but it is currently not being compassed to the compiler driver and I don't think it's necessary anyway.)