diff options
author | André Draszik <git@andred.net> | 2020-01-10 16:53:01 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-11 09:19:20 +0000 |
commit | 39abf8342b264bb91f2b0dbdbd3850af1e6c803a (patch) | |
tree | eff45000993c3ee5372419480ad847d4cf817b10 /meta/site/common-musl | |
parent | a88dfc0ee810bf0d99e8d7dfbae5a054691eabe6 (diff) | |
download | poky-39abf8342b264bb91f2b0dbdbd3850af1e6c803a.tar.gz |
site: strtod() works in glibc / musl
autoconf has a test for strtod(), which assumes non-working
when cross-compiling, but it does work in both musl and
recent glibc.
coreutils (gnulib) does some additional tests on top of that,
but assumes working glibc when >= 2.8 when cross compiling.
It doesn't know about musl where the additional tests also
work, though.
(From OE-Core rev: c8429f707d9ac785f295492470ec8b9ff56c043b)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/site/common-musl')
-rw-r--r-- | meta/site/common-musl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/site/common-musl b/meta/site/common-musl index 386991d2c4..398eeacb99 100644 --- a/meta/site/common-musl +++ b/meta/site/common-musl | |||
@@ -15,6 +15,7 @@ ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} | |||
15 | ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} | 15 | ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} |
16 | ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes} | 16 | ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes} |
17 | ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes} | 17 | ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes} |
18 | ac_cv_func_strtod=${ac_cv_func_strtod=yes} | ||
18 | 19 | ||
19 | # glib | 20 | # glib |
20 | glib_cv_strlcpy=${glib_cv_strlcpy=no} | 21 | glib_cv_strlcpy=${glib_cv_strlcpy=no} |
@@ -40,6 +41,7 @@ gl_cv_func_getcwd_path_max=${gl_cv_func_getcwd_path_max='no, but it is partly wo | |||
40 | ac_cv_func_getgroups_works=${ac_cv_func_getgroups_works=yes} | 41 | ac_cv_func_getgroups_works=${ac_cv_func_getgroups_works=yes} |
41 | gl_cv_func_gettimeofday_clobber=${gl_cv_func_gettimeofday_clobber=no} | 42 | gl_cv_func_gettimeofday_clobber=${gl_cv_func_gettimeofday_clobber=no} |
42 | gl_cv_func_nanosleep=${gl_cv_func_nanosleep=yes} | 43 | gl_cv_func_nanosleep=${gl_cv_func_nanosleep=yes} |
44 | gl_cv_func_strtod_works=${gl_cv_func_strtod_works=yes} | ||
43 | gl_cv_func_tzset_clobber=${gl_cv_func_tzset_clobber=no} | 45 | gl_cv_func_tzset_clobber=${gl_cv_func_tzset_clobber=no} |
44 | gl_cv_func_gettimeofday_posix_signature=${gl_cv_func_gettimeofday_posix_signature=yes} | 46 | gl_cv_func_gettimeofday_posix_signature=${gl_cv_func_gettimeofday_posix_signature=yes} |
45 | gl_cv_func_working_mkstemp=${gl_cv_func_working_mkstemp=yes} | 47 | gl_cv_func_working_mkstemp=${gl_cv_func_working_mkstemp=yes} |