Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348112 - enable gold for >=sys-devel/binutils-2.21.51.0.2
Summary: enable gold for >=sys-devel/binutils-2.21.51.0.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-08 04:30 UTC by Ryan Hill (RETIRED)
Modified: 2010-12-09 01:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2010-12-08 04:30:41 UTC
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).
Comment 1 SpanKY gentoo-dev 2010-12-08 05:46:53 UTC
should be fine.  add a comment that once 2.21 goes stable, we can drop the old gold configure checks.