summaryrefslogtreecommitdiff
path: root/dev-libs/libowfat/libowfat-0.33-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libowfat/libowfat-0.33-r1.ebuild')
-rw-r--r--dev-libs/libowfat/libowfat-0.33-r1.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-libs/libowfat/libowfat-0.33-r1.ebuild b/dev-libs/libowfat/libowfat-0.33-r1.ebuild
index 140aed4ff868..456716706290 100644
--- a/dev-libs/libowfat/libowfat-0.33-r1.ebuild
+++ b/dev-libs/libowfat/libowfat-0.33-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
@@ -23,6 +23,12 @@ pkg_setup() {
}
src_compile() {
+ # Primary use case is for code by the same author. Which then fails with
+ # LTO errors. It builds a static library only, anyway. Result: LTO can be
+ # used if you don't upgrade the compiler. If you do, the compiler errors,
+ # or if you are unlucky, ICEs. Just don't use LTO, there is no point...
+ filter-lto
+
# workaround for broken dependencies
emake headers