The Gold Linker

After the Update to Fedora 20 I forgot to update the linker to Gold. Today I released that linking Samba is horribly slow. Time to change the linker to Gold again:

Fedora:

ll /etc/alternatives/ld
/usr/sbin/alternatives --set ld /usr/bin/ld.gold

openSUSE:

ll /etc/alternatives/ld
/usr/sbin/update-alternatives --set ld /usr/bin/ld.gold

To still build a special project with ld.bfd use:

LDFLAGS="-fuse-ld=bfd"

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *