dev-libs/elfutils: filter out -flto
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 9 May 2020 20:04:45 +0000 (21:04 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 9 May 2020 20:04:50 +0000 (21:04 +0100)
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>
dev-libs/elfutils/elfutils-0.177.ebuild
dev-libs/elfutils/elfutils-0.179.ebuild

index 7198d5d86567db2ab507788c17280fe7bdf93680..e0fb96346a94a287684abb76cc908a0e7616ce5c 100644 (file)
@@ -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
 }
 
index a4b4ed4c2f86aedfc811656790aee3de5106184d..5313453d1a025f45c22f7c0d103fa6704dbbf0ab 100644 (file)
@@ -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
 }