summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-05-09 21:04:45 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-05-09 21:04:50 +0100
commit642e7e3333b899c315d01f20279de4167f0d8dfd (patch)
treea66a47d8b526e854f67b9fbe5168348432949bc8 /dev-libs/elfutils
parentapp-emulation/cadvisor: remove old (diff)
downloadgentoo-642e7e3333b899c315d01f20279de4167f0d8dfd.tar.gz
gentoo-642e7e3333b899c315d01f20279de4167f0d8dfd.tar.bz2
gentoo-642e7e3333b899c315d01f20279de4167f0d8dfd.zip
dev-libs/elfutils: filter out -flto
Upstream plans to fix -flto eventually, but it will require explicit gcc support. Will take some time to arrive. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-libs/elfutils')
-rw-r--r--dev-libs/elfutils/elfutils-0.177.ebuild5
-rw-r--r--dev-libs/elfutils/elfutils-0.179.ebuild5
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-libs/elfutils/elfutils-0.177.ebuild b/dev-libs/elfutils/elfutils-0.177.ebuild
index 7198d5d86567..e0fb96346a94 100644
--- a/dev-libs/elfutils/elfutils-0.177.ebuild
+++ b/dev-libs/elfutils/elfutils-0.177.ebuild
@@ -43,6 +43,11 @@ src_prepare() {
src_configure() {
use test && append-flags -g #407135
+
+ # Symbol aliases are implemented as asm statements.
+ # Will require porting: https://gcc.gnu.org/PR48200
+ filter-flags '-flto*'
+
multilib-minimal_src_configure
}
diff --git a/dev-libs/elfutils/elfutils-0.179.ebuild b/dev-libs/elfutils/elfutils-0.179.ebuild
index a4b4ed4c2f86..5313453d1a02 100644
--- a/dev-libs/elfutils/elfutils-0.179.ebuild
+++ b/dev-libs/elfutils/elfutils-0.179.ebuild
@@ -45,6 +45,11 @@ src_prepare() {
src_configure() {
use test && append-flags -g #407135
+
+ # Symbol aliases are implemented as asm statements.
+ # Will require porting: https://gcc.gnu.org/PR48200
+ filter-flags '-flto*'
+
multilib-minimal_src_configure
}