--- a/bootstrap.sh
+++ a/bootstrap.sh
@@ -74,6 +74,7 @@
 
 # Fall back to "ld"... might work.
 [ -$LINK- = -""- ] && LINK=ld
+LINK="ld.gold"
 
 # And finally, see if we can compile and link something.
   echo 'int main(){}' | $CC -xc - -o /dev/null ||
