commit: 3e3e3a68c70353ad1d232d83d328b21443dc87e4 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Tue Apr 9 02:08:08 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Apr 9 14:43:28 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e3e3a68
sys-fs/f2fs-tools: mark as LTO-unsafe Closes: https://bugs.gentoo.org/863896 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> sys-fs/f2fs-tools/f2fs-tools-1.16.0-r1.ebuild | 9 +++++++-- sys-fs/f2fs-tools/f2fs-tools-9999.ebuild | 7 ++++++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/sys-fs/f2fs-tools/f2fs-tools-1.16.0-r1.ebuild b/sys-fs/f2fs-tools/f2fs-tools-1.16.0-r1.ebuild index 8860568e1a21..a99653220be6 100644 --- a/sys-fs/f2fs-tools/f2fs-tools-1.16.0-r1.ebuild +++ b/sys-fs/f2fs-tools/f2fs-tools-1.16.0-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit autotools +inherit autotools flag-o-matic DESCRIPTION="Tools for Flash-Friendly File System (F2FS)" HOMEPAGE="https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/about/" @@ -39,6 +39,11 @@ src_prepare() { } src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/863896 + # Sent an email to linux-f2fs-devel@ but it hasn't been accepted yet... + filter-lto + local myconf=( # This is required to install to /sbin, bug #481110 --bindir="${EPREFIX}"/sbin diff --git a/sys-fs/f2fs-tools/f2fs-tools-9999.ebuild b/sys-fs/f2fs-tools/f2fs-tools-9999.ebuild index 456f9f133dfb..7657d65cf872 100644 --- a/sys-fs/f2fs-tools/f2fs-tools-9999.ebuild +++ b/sys-fs/f2fs-tools/f2fs-tools-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools +inherit autotools flag-o-matic DESCRIPTION="Tools for Flash-Friendly File System (F2FS)" HOMEPAGE="https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/about/" @@ -35,6 +35,11 @@ src_prepare() { } src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/863896 + # Sent an email to linux-f2fs-devel@ but it hasn't been accepted yet... + filter-lto + local myconf=( # This is required to install to /sbin, bug #481110 --bindir="${EPREFIX}"/sbin
