summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-04-08 22:08:08 -0400
committerSam James <sam@gentoo.org>2024-04-09 15:43:28 +0100
commit3e3e3a68c70353ad1d232d83d328b21443dc87e4 (patch)
tree6ab82aab5688fd290e7da775991fe6a944a79e20 /sys-fs
parentsys-fs/f2fs-tools: sync live (diff)
downloadgentoo-3e3e3a68c70353ad1d232d83d328b21443dc87e4.tar.gz
gentoo-3e3e3a68c70353ad1d232d83d328b21443dc87e4.tar.bz2
gentoo-3e3e3a68c70353ad1d232d83d328b21443dc87e4.zip
sys-fs/f2fs-tools: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/863896 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/f2fs-tools/f2fs-tools-1.16.0-r1.ebuild9
-rw-r--r--sys-fs/f2fs-tools/f2fs-tools-9999.ebuild7
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