Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/elfutils/
Date: Sat, 09 May 2020 20:04:58
Message-Id: 1589054690.642e7e3333b899c315d01f20279de4167f0d8dfd.slyfox@gentoo
1 commit: 642e7e3333b899c315d01f20279de4167f0d8dfd
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 9 20:04:45 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sat May 9 20:04:50 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=642e7e33
7
8 dev-libs/elfutils: filter out -flto
9
10 Upstream plans to fix -flto eventually, but it will require
11 explicit gcc support. Will take some time to arrive.
12
13 Package-Manager: Portage-2.3.99, Repoman-2.3.22
14 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
15
16 dev-libs/elfutils/elfutils-0.177.ebuild | 5 +++++
17 dev-libs/elfutils/elfutils-0.179.ebuild | 5 +++++
18 2 files changed, 10 insertions(+)
19
20 diff --git a/dev-libs/elfutils/elfutils-0.177.ebuild b/dev-libs/elfutils/elfutils-0.177.ebuild
21 index 7198d5d8656..e0fb96346a9 100644
22 --- a/dev-libs/elfutils/elfutils-0.177.ebuild
23 +++ b/dev-libs/elfutils/elfutils-0.177.ebuild
24 @@ -43,6 +43,11 @@ src_prepare() {
25
26 src_configure() {
27 use test && append-flags -g #407135
28 +
29 + # Symbol aliases are implemented as asm statements.
30 + # Will require porting: https://gcc.gnu.org/PR48200
31 + filter-flags '-flto*'
32 +
33 multilib-minimal_src_configure
34 }
35
36
37 diff --git a/dev-libs/elfutils/elfutils-0.179.ebuild b/dev-libs/elfutils/elfutils-0.179.ebuild
38 index a4b4ed4c2f8..5313453d1a0 100644
39 --- a/dev-libs/elfutils/elfutils-0.179.ebuild
40 +++ b/dev-libs/elfutils/elfutils-0.179.ebuild
41 @@ -45,6 +45,11 @@ src_prepare() {
42
43 src_configure() {
44 use test && append-flags -g #407135
45 +
46 + # Symbol aliases are implemented as asm statements.
47 + # Will require porting: https://gcc.gnu.org/PR48200
48 + filter-flags '-flto*'
49 +
50 multilib-minimal_src_configure
51 }