diff options
Diffstat (limited to 'dev-libs/libowfat/libowfat-0.32-r5.ebuild')
-rw-r--r-- | dev-libs/libowfat/libowfat-0.32-r5.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-libs/libowfat/libowfat-0.32-r5.ebuild b/dev-libs/libowfat/libowfat-0.32-r5.ebuild index da8af4daacc6..45ea340b25da 100644 --- a/dev-libs/libowfat/libowfat-0.32-r5.ebuild +++ b/dev-libs/libowfat/libowfat-0.32-r5.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" @@ -38,6 +38,12 @@ src_prepare() { } 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 + emake \ CC="$(tc-getCC)" \ AR="$(tc-getAR)" \ |