use gold instead of bfd on Linux if it's available #14560
Labels
I-compiletime
Issue: Problems and improvements with respect to compile times.
O-linux
Operating system: Linux
This is what
clang
does on Linux, by detecting the existence of/usr/bin/ld.gold
and then using it. This can be done withgcc
by passing-fuse-ld=gold
. It's a much faster linker and doesn't consume as much memory, so it will reduce the compiler's peak memory consumption.The text was updated successfully, but these errors were encountered: