commit: ae0e2d1acac972acdcbbc64789f1f6c6bd4588e9 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Dec 29 22:25:26 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Dec 29 22:26:40 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae0e2d1a
sys-fs/e2fsprogs: drop USE=lto Originally reported on reddit at https://old.reddit.com/r/Gentoo/comments/zkl6l8/configure_error_lto_not_supported_by_compiler/. As Ionen points out, this option just adds -flto (which users can and do normally via *FLAGS or package.env) but, problematically, forces unprefixed 'gcc-ar' etc. It does nothing else special. Fails on GCC-less systems. Users are free to enable LTO in the usual way. Signed-off-by: Sam James <sam <AT> gentoo.org> sys-fs/e2fsprogs/e2fsprogs-1.46.5-r4.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-fs/e2fsprogs/e2fsprogs-1.46.5-r4.ebuild b/sys-fs/e2fsprogs/e2fsprogs-1.46.5-r4.ebuild index 01be94e1f77e..a2475153eb26 100644 --- a/sys-fs/e2fsprogs/e2fsprogs-1.46.5-r4.ebuild +++ b/sys-fs/e2fsprogs/e2fsprogs-1.46.5-r4.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v${PV}/$ LICENSE="GPL-2 BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="cron fuse lto nls static-libs test +tools" +IUSE="cron fuse nls static-libs test +tools" RESTRICT="!test? ( test )" RDEPEND=" @@ -77,7 +77,7 @@ multilib_src_configure() { $(multilib_native_use_enable tools e2initrd-helper) --disable-fsck --disable-uuidd - $(use_enable lto) + --disable-lto --with-pthread )
