aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2023-05-09 21:35:54 -0400
committerSam James <sam@gentoo.org>2023-05-11 02:24:41 +0100
commita478b4c427cfc51188ec9273952ad498de95a39f (patch)
treed585f81205b4c78ed0c160cadbb74a466c04cb76
parentinstall-qa-check.d/90config-impl-decl: Skip compiler built-ins (diff)
downloadportage-a478b4c427cfc51188ec9273952ad498de95a39f.tar.gz
portage-a478b4c427cfc51188ec9273952ad498de95a39f.tar.bz2
portage-a478b4c427cfc51188ec9273952ad498de95a39f.zip
install-qa-check.d/90config-impl-decl: Skip res_ndestroy on Linux
Seen in dev-libs/glib. It seems that at least Darwin, FreeBSD, OpenBSD, NetBSD, and Solaris have this function. Bug: https://bugs.gentoo.org/898232 Signed-off-by: Matt Turner <mattst88@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--bin/install-qa-check.d/90config-impl-decl5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/install-qa-check.d/90config-impl-decl b/bin/install-qa-check.d/90config-impl-decl
index 43be4222b..4e9494931 100644
--- a/bin/install-qa-check.d/90config-impl-decl
+++ b/bin/install-qa-check.d/90config-impl-decl
@@ -40,6 +40,11 @@ add_default_skips() {
# https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html
"__atomic_*"
)
+
+ # Functions not available on Linux
+ [[ ${CHOST} == *linux* ]] && QA_CONFIG_IMPL_DECL_SKIP+=(
+ res_ndestroy
+ )
}
find_log_targets() {