diff options
author | Sam James <sam@gentoo.org> | 2022-09-14 00:46:15 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-09-14 00:46:31 +0100 |
commit | e2438c028e2eb9d4f848d027e5f484424f6ca004 (patch) | |
tree | c8bf70695b111d39a709da46f2d62f755cf8c829 /sys-libs/musl | |
parent | app-emulation/wine-staging: Exodia, obliterate (diff) | |
download | gentoo-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')
-rw-r--r-- | sys-libs/musl/musl-1.2.3-r3.ebuild | 6 | ||||
-rw-r--r-- | sys-libs/musl/musl-9999.ebuild | 12 |
2 files changed, 13 insertions, 5 deletions
diff --git a/sys-libs/musl/musl-1.2.3-r3.ebuild b/sys-libs/musl/musl-1.2.3-r3.ebuild index 563d555aab5a..215d34d742fa 100644 --- a/sys-libs/musl/musl-1.2.3-r3.ebuild +++ b/sys-libs/musl/musl-1.2.3-r3.ebuild @@ -40,8 +40,10 @@ 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-*, 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 |