commit:     080758c1d1a7dbf6c619804462c4692ff225980f
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 17 09:22:00 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Feb 17 09:40:52 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=080758c1

dev-libs/libgrapheme: drop -nostdlib

This does use libc and isn't a plugin, not really seeing a
reason to pass this.

Skipping revbump given mostly harmless beside QA noise.

Closes: https://bugs.gentoo.org/895068
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-libs/libgrapheme/libgrapheme-2.0.2.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-libs/libgrapheme/libgrapheme-2.0.2.ebuild 
b/dev-libs/libgrapheme/libgrapheme-2.0.2.ebuild
index d86626bd309d..bbdd40983f99 100644
--- a/dev-libs/libgrapheme/libgrapheme-2.0.2.ebuild
+++ b/dev-libs/libgrapheme/libgrapheme-2.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021-2022 Gentoo Authors
+# Copyright 2021-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -22,8 +22,13 @@ src_prepare() {
        tc-export CC AR RANLIB
        tc-export_build_env BUILD_CC
        sed -Ei '/^(BUILD_|)(CC|AR|RANLIB|CFLAGS|LDFLAGS|LDCONFIG).*=/d' 
config.mk || die
+
+       # does use libc and dropping this avoids QA noise with clang (bug 
#895068)
+       sed -i 's/-nostdlib //' config.mk || die
 }
 
+src_configure() { :; }
+
 src_install() {
        local emakeargs=(
                DESTDIR="${D}"

Reply via email to