diff options
author | André Draszik <git@andred.net> | 2020-01-10 16:53:00 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-11 09:19:20 +0000 |
commit | a88dfc0ee810bf0d99e8d7dfbae5a054691eabe6 (patch) | |
tree | 724fa3860b8ef99bdb32db313bf8e70d03c06f27 | |
parent | c836211c6d2f34591fe6ed95055606a39b272b1a (diff) | |
download | poky-a88dfc0ee810bf0d99e8d7dfbae5a054691eabe6.tar.gz |
site: set nanosleep() behaviour for glibc / musl
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 <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/site/common-glibc | 1 | ||||
-rw-r--r-- | meta/site/common-musl | 1 |
2 files changed, 2 insertions, 0 deletions
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} | |||
33 | gl_cv_func_getcwd_null=${gl_cv_func_getcwd_null=yes} | 33 | gl_cv_func_getcwd_null=${gl_cv_func_getcwd_null=yes} |
34 | gl_cv_func_getcwd_path_max=${gl_cv_func_getcwd_path_max=yes} | 34 | gl_cv_func_getcwd_path_max=${gl_cv_func_getcwd_path_max=yes} |
35 | ac_cv_func_getgroups_works=${ac_cv_func_getgroups_works=yes} | 35 | ac_cv_func_getgroups_works=${ac_cv_func_getgroups_works=yes} |
36 | gl_cv_func_nanosleep=${gl_cv_func_nanosleep='no (mishandles large arguments)'} | ||
36 | gl_cv_func_working_mkstemp=${gl_cv_func_working_mkstemp=yes} | 37 | gl_cv_func_working_mkstemp=${gl_cv_func_working_mkstemp=yes} |
37 | gl_cv_func_working_utimes=${gl_cv_func_working_utimes=yes} | 38 | gl_cv_func_working_utimes=${gl_cv_func_working_utimes=yes} |
38 | 39 | ||
diff --git a/meta/site/common-musl b/meta/site/common-musl index 1e7efbc311..386991d2c4 100644 --- a/meta/site/common-musl +++ b/meta/site/common-musl | |||
@@ -39,6 +39,7 @@ gl_cv_func_getcwd_null=${gl_cv_func_getcwd_null=yes} | |||
39 | gl_cv_func_getcwd_path_max=${gl_cv_func_getcwd_path_max='no, but it is partly working'} | 39 | gl_cv_func_getcwd_path_max=${gl_cv_func_getcwd_path_max='no, but it is partly working'} |
40 | ac_cv_func_getgroups_works=${ac_cv_func_getgroups_works=yes} | 40 | ac_cv_func_getgroups_works=${ac_cv_func_getgroups_works=yes} |
41 | gl_cv_func_gettimeofday_clobber=${gl_cv_func_gettimeofday_clobber=no} | 41 | gl_cv_func_gettimeofday_clobber=${gl_cv_func_gettimeofday_clobber=no} |
42 | gl_cv_func_nanosleep=${gl_cv_func_nanosleep=yes} | ||
42 | gl_cv_func_tzset_clobber=${gl_cv_func_tzset_clobber=no} | 43 | gl_cv_func_tzset_clobber=${gl_cv_func_tzset_clobber=no} |
43 | gl_cv_func_gettimeofday_posix_signature=${gl_cv_func_gettimeofday_posix_signature=yes} | 44 | gl_cv_func_gettimeofday_posix_signature=${gl_cv_func_gettimeofday_posix_signature=yes} |
44 | gl_cv_func_working_mkstemp=${gl_cv_func_working_mkstemp=yes} | 45 | gl_cv_func_working_mkstemp=${gl_cv_func_working_mkstemp=yes} |