commit:     26af396dfd97d5a455a6b942140c65302bf4a8b2
Author:     Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 19 14:31:10 2018 +0000
Commit:     Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Mon Mar 19 14:33:50 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26af396d

sys-fs/fuse: filter lto from LDFLAGS as it's unsupported

 sys-fs/fuse/fuse-3.2.1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys-fs/fuse/fuse-3.2.1.ebuild b/sys-fs/fuse/fuse-3.2.1.ebuild
index e7a9f371ae7..c60d8702e86 100644
--- a/sys-fs/fuse/fuse-3.2.1.ebuild
+++ b/sys-fs/fuse/fuse-3.2.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit meson multilib-minimal
+inherit meson multilib-minimal flag-o-matic
 
 DESCRIPTION="An interface for filesystems implemented in userspace"
 HOMEPAGE="https://github.com/libfuse/libfuse";
@@ -22,6 +22,9 @@ DOCS=( AUTHORS ChangeLog.rst README.md doc/README.NFS 
doc/kernel.txt )
 src_prepare() {
        default
 
+       # lto not supported yet -- https://github.com/libfuse/libfuse/issues/198
+       filter-flags -flto
+
        # passthough_ll is broken on systems with 32-bit pointers
        cat /dev/null > example/meson.build || die
 }

Reply via email to