From a88dfc0ee810bf0d99e8d7dfbae5a054691eabe6 Mon Sep 17 00:00:00 2001 From: André Draszik Date: Fri, 10 Jan 2020 16:53:00 +0000 Subject: site: set nanosleep() behaviour for glibc / musl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As per coreutils' (gnulib's) autotools test, nanosleep() misbehaves on glibc (2.29), and works fine on musl. During cross-compile, recent coreutils assume brokenness when compiling for linux, which pessimises musl. Set the correct result for musl, and for coherency reasons, also specify the result for glibc. (From OE-Core rev: 4522648758dc59f5ece736a0c1c0e95dcc7dafd1) Signed-off-by: André Draszik Signed-off-by: Richard Purdie --- meta/site/common-glibc | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/site/common-glibc') diff --git a/meta/site/common-glibc b/meta/site/common-glibc index ca55d48e72..1a28a271ff 100644 --- a/meta/site/common-glibc +++ b/meta/site/common-glibc @@ -33,6 +33,7 @@ gl_cv_func_getcwd_abort_bug=${gl_cv_func_getcwd_abort_bug=no} gl_cv_func_getcwd_null=${gl_cv_func_getcwd_null=yes} gl_cv_func_getcwd_path_max=${gl_cv_func_getcwd_path_max=yes} ac_cv_func_getgroups_works=${ac_cv_func_getgroups_works=yes} +gl_cv_func_nanosleep=${gl_cv_func_nanosleep='no (mishandles large arguments)'} gl_cv_func_working_mkstemp=${gl_cv_func_working_mkstemp=yes} gl_cv_func_working_utimes=${gl_cv_func_working_utimes=yes} -- cgit v1.2.3-54-g00ecf