commit:     6c70684c01d2c36caa7cfd61be1758327ed66fc3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  4 01:48:50 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug  4 01:49:24 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c70684c

sys-devel/binutils: pass --disable-dependency-tracking, --disable-silent-rules

We already do this for gdb, do the same for binutils. Portage/econf only greps
the top-level configure which has neither of these, but the subconfigure dirs
do.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/binutils/binutils-2.41.ebuild | 13 +++++++++----
 sys-devel/binutils/binutils-9999.ebuild | 13 +++++++++----
 2 files changed, 18 insertions(+), 8 deletions(-)

diff --git a/sys-devel/binutils/binutils-2.41.ebuild 
b/sys-devel/binutils/binutils-2.41.ebuild
index c555b6494b26..2a05d10fa85c 100644
--- a/sys-devel/binutils/binutils-2.41.ebuild
+++ b/sys-devel/binutils/binutils-2.41.ebuild
@@ -250,6 +250,11 @@ src_configure() {
                --libdir="${EPREFIX}"${LIBPATH}
                --libexecdir="${EPREFIX}"${LIBPATH}
                --includedir="${EPREFIX}"${INCPATH}
+               # portage's econf() does not detect presence of --d-d-t
+               # because it greps only top-level ./configure. But not
+               # libiberty's or bfd's configure.
+               --disable-dependency-tracking
+               --disable-silent-rules
                --enable-obsolete
                --enable-shared
                --enable-threads
@@ -349,11 +354,11 @@ src_compile() {
        cd "${MY_BUILDDIR}" || die
 
        # see Note [tooldir hack for ldscripts]
-       emake V=1 tooldir="${EPREFIX}${TOOLPATH}" all
+       emake tooldir="${EPREFIX}${TOOLPATH}" all
 
        # only build info pages if the user wants them
        if use doc ; then
-               emake V=1 info
+               emake info
        fi
 
        # we nuke the manpages when we're left with junk
@@ -367,7 +372,7 @@ src_test() {
        # bug #637066
        filter-flags -Wall -Wreturn-type
 
-       emake -k V=1 check
+       emake -k check
 }
 
 src_install() {
@@ -376,7 +381,7 @@ src_install() {
        cd "${MY_BUILDDIR}" || die
 
        # see Note [tooldir hack for ldscripts]
-       emake V=1 DESTDIR="${D}" tooldir="${EPREFIX}${LIBPATH}" install
+       emake DESTDIR="${D}" tooldir="${EPREFIX}${LIBPATH}" install
        rm -rf "${ED}"/${LIBPATH}/bin || die
        use static-libs || find "${ED}" -name '*.la' -delete
 

diff --git a/sys-devel/binutils/binutils-9999.ebuild 
b/sys-devel/binutils/binutils-9999.ebuild
index d553da58aa63..bd99e9391eb7 100644
--- a/sys-devel/binutils/binutils-9999.ebuild
+++ b/sys-devel/binutils/binutils-9999.ebuild
@@ -250,6 +250,11 @@ src_configure() {
                --libdir="${EPREFIX}"${LIBPATH}
                --libexecdir="${EPREFIX}"${LIBPATH}
                --includedir="${EPREFIX}"${INCPATH}
+               # portage's econf() does not detect presence of --d-d-t
+               # because it greps only top-level ./configure. But not
+               # libiberty's or bfd's configure.
+               --disable-dependency-tracking
+               --disable-silent-rules
                --enable-obsolete
                --enable-shared
                --enable-threads
@@ -349,11 +354,11 @@ src_compile() {
        cd "${MY_BUILDDIR}" || die
 
        # see Note [tooldir hack for ldscripts]
-       emake V=1 tooldir="${EPREFIX}${TOOLPATH}" all
+       emake tooldir="${EPREFIX}${TOOLPATH}" all
 
        # only build info pages if the user wants them
        if use doc ; then
-               emake V=1 info
+               emake info
        fi
 
        # we nuke the manpages when we're left with junk
@@ -367,7 +372,7 @@ src_test() {
        # bug #637066
        filter-flags -Wall -Wreturn-type
 
-       emake -k V=1 check
+       emake -k check
 }
 
 src_install() {
@@ -376,7 +381,7 @@ src_install() {
        cd "${MY_BUILDDIR}" || die
 
        # see Note [tooldir hack for ldscripts]
-       emake V=1 DESTDIR="${D}" tooldir="${EPREFIX}${LIBPATH}" install
+       emake DESTDIR="${D}" tooldir="${EPREFIX}${LIBPATH}" install
        rm -rf "${ED}"/${LIBPATH}/bin || die
        use static-libs || find "${ED}" -name '*.la' -delete
 

Reply via email to