mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-07 18:07:08 -08:00
sys-devel/binutils: use econf; sync from live
1. Sync more with binutils-libs by using econf instead of raw ./configure call; means we benefit from some of the default arguments it passes, in particular thinking of silent rules which upstream are starting to support more now too (and enable by default) which econf disables. Also, we use it fine in binutils-libs w/o issue. 2. Pick up changes from live ebuild. Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -175,7 +175,7 @@ src_configure() {
|
||||
done
|
||||
echo
|
||||
|
||||
cd "${MY_BUILDDIR}"
|
||||
cd "${MY_BUILDDIR}" || die
|
||||
local myconf=()
|
||||
|
||||
if use plugins ; then
|
||||
@@ -248,7 +248,6 @@ src_configure() {
|
||||
--with-bugurl="$(toolchain-binutils_bugurl)"
|
||||
--with-pkgversion="$(toolchain-binutils_pkgversion)"
|
||||
$(use_enable static-libs static)
|
||||
${EXTRA_ECONF}
|
||||
# Disable modules that are in a combined binutils/gdb tree, bug #490566
|
||||
--disable-{gdb,libdecnumber,readline,sim}
|
||||
# Strip out broken static link flags.
|
||||
@@ -276,8 +275,7 @@ src_configure() {
|
||||
fi
|
||||
fi
|
||||
|
||||
echo ./configure "${myconf[@]}"
|
||||
"${S}"/configure "${myconf[@]}" || die
|
||||
ECONF_SOURCE="${S}" econf "${myconf[@]}" || die
|
||||
|
||||
# Prevent makeinfo from running if doc is unset.
|
||||
if ! use doc ; then
|
||||
|
||||
Reference in New Issue
Block a user