sys-fs/fuse: filter lto from LDFLAGS as it's unsupported
authorTim Harder <radhermit@gentoo.org>
Mon, 19 Mar 2018 14:31:10 +0000 (10:31 -0400)
committerTim Harder <radhermit@gentoo.org>
Mon, 19 Mar 2018 14:33:50 +0000 (10:33 -0400)
sys-fs/fuse/fuse-3.2.1.ebuild

index e7a9f371ae7b78ebf5787ec8a0eed8f5546530c4..c60d8702e866f59875493c1de5c1b416e28ee652 100644 (file)
@@ -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
 }