Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Thu, 30 Jul 2020 06:55:03
Message-Id: 1596092092.a06e1246568c3c6043de3ae6a5042e5470be1fa8.slyfox@gentoo
1 commit: a06e1246568c3c6043de3ae6a5042e5470be1fa8
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 30 06:51:44 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 30 06:54:52 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a06e1246
7
8 toolchain.eclass: install libquadmath by default
9
10 libquadmath is a small support runtime library for _Float128
11 types. sci-libs/fftw happens to use it and expects it to be
12 provided by gcc. Let's provide it unconditionally.
13
14 Reported-by: Fredric Johansson
15 Closes: https://bugs.gentoo.org/608990
16 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
17
18 eclass/toolchain.eclass | 6 ------
19 1 file changed, 6 deletions(-)
20
21 diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
22 index 5bd4e18eb0d..b112060f2f6 100644
23 --- a/eclass/toolchain.eclass
24 +++ b/eclass/toolchain.eclass
25 @@ -1299,12 +1299,6 @@ toolchain_src_configure() {
26 confgcc+=( $(use_with zstd) )
27 fi
28
29 - # newer gcc's come with libquadmath, but only fortran uses
30 - # it, so auto punt it when we don't care
31 - if tc_version_is_at_least 4.6 && ! is_fortran ; then
32 - confgcc+=( --disable-libquadmath )
33 - fi
34 -
35 if tc_version_is_at_least 4.6 ; then
36 confgcc+=( --enable-lto )
37 elif tc_version_is_at_least 4.5 ; then