This are my changes to spec file: http://susepaste.org/58717827 It's incomplete (--enable-gold should not be duplicated, changes in %install section missing), but it allows to compile the binary I needed.