Here is your bi-annual gold configure option bug. Hopefully this is final now. --- toolchain-binutils.eclass +++ toolchain-binutils.eclass @@ -200,6 +200,8 @@ set -- "$@" --enable-gold=both/ld elif grep -q 'enable-gold=both/bfd' "${S}"/configure ; then set -- "$@" --enable-gold=both/bfd + elif grep -q 'enable-gold[=ARG]' "${S}"/configure ; then + set -- "$@" --enable-gold fi if grep -q -e '--enable-plugins' "${S}"/ld/configure ; then set -- "$@" --enable-plugins This should be the same as we have currently (ld.bfd, ld.gold, ld points to ld.bfd).
should be fine. add a comment that once 2.21 goes stable, we can drop the old gold configure checks.
http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.93&r2=1.94