summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-09-14 00:46:15 +0100
committerSam James <sam@gentoo.org>2022-09-14 00:46:31 +0100
commite2438c028e2eb9d4f848d027e5f484424f6ca004 (patch)
treec8bf70695b111d39a709da46f2d62f755cf8c829 /sys-libs/musl/musl-9999.ebuild
parentapp-emulation/wine-staging: Exodia, obliterate (diff)
downloadgentoo-e2438c028e2eb9d4f848d027e5f484424f6ca004.tar.gz
gentoo-e2438c028e2eb9d4f848d027e5f484424f6ca004.tar.bz2
gentoo-e2438c028e2eb9d4f848d027e5f484424f6ca004.zip
sys-libs/musl: set QA_PRESTRIPPED for crtn.o
vapier's comment is really it: ""' > crt files are often hand written assembly, and for the init/fini ones, > barely any code at all. so they tend not to have anything useful to add > debugging wise, if the tools even support it in the first place. > > not really worth trying to add debugging info to really any of the crt > files. we should figure out how to suppress the warning for them. or > ignore it. """ Closes: https://bugs.gentoo.org/830213 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs/musl/musl-9999.ebuild')
-rw-r--r--sys-libs/musl/musl-9999.ebuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/sys-libs/musl/musl-9999.ebuild b/sys-libs/musl/musl-9999.ebuild
index b42381e40998..215d34d742fa 100644
--- a/sys-libs/musl/musl-9999.ebuild
+++ b/sys-libs/musl/musl-9999.ebuild
@@ -40,9 +40,15 @@ LICENSE="MIT LGPL-2 GPL-2"
SLOT="0"
IUSE="crypt headers-only"
-QA_SONAME="/usr/lib/libc.so"
-QA_DT_NEEDED="/usr/lib/libc.so"
-
+QA_SONAME="usr/lib/libc.so"
+QA_DT_NEEDED="usr/lib/libc.so"
+# bug #830213
+QA_PRESTRIPPED="usr/lib/crtn.o"
+
+# We want crypt on by default for this as sys-libs/libxcrypt isn't (yet?)
+# built as part as crossdev. Also, elide the blockers when in cross-*,
+# as it doesn't make sense to block the normal CBUILD libxcrypt at all
+# there when we're installing into /usr/${CHOST} anyway.
if [[ ${CATEGORY} == cross-* ]] ; then
IUSE="${IUSE/crypt/+crypt}"
else