summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@gentoo.org>2024-11-17 21:36:34 -0500
committerEli Schwartz <eschwartz@gentoo.org>2024-11-17 23:14:08 -0500
commitd035a27fd1d552693045ad91bb8768cdf730a32b (patch)
treec46dbb05282fcf2b5736004c303feca906f16fae /sys-fs
parentdev-util/diff-cover: further work on testsuite (diff)
downloadgentoo-d035a27fd1d552693045ad91bb8768cdf730a32b.tar.gz
gentoo-d035a27fd1d552693045ad91bb8768cdf730a32b.tar.bz2
gentoo-d035a27fd1d552693045ad91bb8768cdf730a32b.zip
sys-fs/progsreiserfs: mark as LTO-unsafe on musl
It fails with linker errors due to including a code copy of a manky old libintl. Happens because for some inexplicable reason, packages which genuinely need the full power and flexibility of GNU libintl, can only rely on dev-libs/libintl on *non* linux operating systems, even though it was very much intended upstream to be useful and usable on musl systems. glibc, obviously, works fine. Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild
index 096e9f38d020..4610a15a2756 100644
--- a/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild
+++ b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild
@@ -39,6 +39,9 @@ src_prepare() {
src_configure() {
filter-lfs-flags
+ # bundled libintl gets used because dev-libs/libintl isn't an option on musl
+ # and fails to LTO: undefined reference to `__argz_count'
+ use elibc_glibc && filter-lto
econf \
$(use_enable static-libs static) \