Solaris ld interprets -color-diagnostics as a -c option, so it is
better to use --color-diagnostics. lld accepts both.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Though, if you really want to make it LLD-only (as comments suggest) then you better check for LLD :)
Comment Actions
The --color-diagnostics option is supported by lld only at the moment, but we could add the option to other linkers, so I think as long as a linker accepts it, we want to pass that flag.