diff options
author | Sam James <sam@gentoo.org> | 2023-08-04 03:03:12 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-08-04 03:05:01 +0100 |
commit | 5b03a882f4fae447bf9d0a5e568ce91c9548e232 (patch) | |
tree | 12d6dea8b3b92f9192904c8135632f447e5b89bd /eclass | |
parent | app-text/mdbook: add 0.4.33 (diff) | |
download | gentoo-5b03a882f4fae447bf9d0a5e568ce91c9548e232.tar.gz gentoo-5b03a882f4fae447bf9d0a5e568ce91c9548e232.tar.bz2 gentoo-5b03a882f4fae447bf9d0a5e568ce91c9548e232.zip |
toolchain.eclass: pass --disable-dependency-tracking, --disable-silent-rules
We already do this for gdb and binutils, do the same for gcc. Portage/econf only greps
the top-level configure which has neither of these, but the subconfigure dirs
do.
There's been problems in the past upstream here, see e.g. https://gcc.gnu.org/PR55930,
but seems fine now.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index cf6cb158a3b3..9f626c5bfc77 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -791,8 +791,19 @@ toolchain_src_configure() { --mandir="${DATAPATH}/man" --infodir="${DATAPATH}/info" --with-gxx-include-dir="${STDCXX_INCDIR}" + + # portage's econf() does not detect presence of --d-s-r + # because it greps only top-level ./configure. But not + # libiberty's or gcc's configure. + --disable-silent-rules ) + if tc_version_is_at_least 10 ; then + confgcc+=( + --disable-dependency-tracking + ) + fi + # Stick the python scripts in their own slotted directory (bug #279252) # # --with-python-dir=DIR |