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