commit:     a06e1246568c3c6043de3ae6a5042e5470be1fa8
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 30 06:51:44 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Jul 30 06:54:52 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a06e1246

toolchain.eclass: install libquadmath by default

libquadmath is a small support runtime library for _Float128
types. sci-libs/fftw happens to use it and expects it to be
provided by gcc. Let's provide it unconditionally.

Reported-by: Fredric Johansson
Closes: https://bugs.gentoo.org/608990
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 eclass/toolchain.eclass | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 5bd4e18eb0d..b112060f2f6 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1299,12 +1299,6 @@ toolchain_src_configure() {
                confgcc+=( $(use_with zstd) )
        fi
 
-       # newer gcc's come with libquadmath, but only fortran uses
-       # it, so auto punt it when we don't care
-       if tc_version_is_at_least 4.6 && ! is_fortran ; then
-               confgcc+=( --disable-libquadmath )
-       fi
-
        if tc_version_is_at_least 4.6 ; then
                confgcc+=( --enable-lto )
        elif tc_version_is_at_least 4.5 ; then

Reply via email to