summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Draszik <git@andred.net>2020-01-10 16:53:01 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-11 09:19:20 +0000
commit39abf8342b264bb91f2b0dbdbd3850af1e6c803a (patch)
treeeff45000993c3ee5372419480ad847d4cf817b10
parenta88dfc0ee810bf0d99e8d7dfbae5a054691eabe6 (diff)
downloadpoky-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>
-rw-r--r--meta/site/common-glibc1
-rw-r--r--meta/site/common-musl2
2 files changed, 3 insertions, 0 deletions
diff --git a/meta/site/common-glibc b/meta/site/common-glibc
index 1a28a271ff..4795d7852d 100644
--- a/meta/site/common-glibc
+++ b/meta/site/common-glibc
@@ -15,6 +15,7 @@ ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes}
15ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} 15ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes}
16ac_cv_type_uid_t={ac_cv_type_uid_t=yes} 16ac_cv_type_uid_t={ac_cv_type_uid_t=yes}
17ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes} 17ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes}
18ac_cv_func_strtod=${ac_cv_func_strtod=yes}
18 19
19# bash 20# bash
20bash_cv_under_sys_siglist=${bash_cv_under_sys_siglist=yes} 21bash_cv_under_sys_siglist=${bash_cv_under_sys_siglist=yes}
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}
15ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} 15ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes}
16ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes} 16ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes}
17ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes} 17ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes}
18ac_cv_func_strtod=${ac_cv_func_strtod=yes}
18 19
19# glib 20# glib
20glib_cv_strlcpy=${glib_cv_strlcpy=no} 21glib_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
40ac_cv_func_getgroups_works=${ac_cv_func_getgroups_works=yes} 41ac_cv_func_getgroups_works=${ac_cv_func_getgroups_works=yes}
41gl_cv_func_gettimeofday_clobber=${gl_cv_func_gettimeofday_clobber=no} 42gl_cv_func_gettimeofday_clobber=${gl_cv_func_gettimeofday_clobber=no}
42gl_cv_func_nanosleep=${gl_cv_func_nanosleep=yes} 43gl_cv_func_nanosleep=${gl_cv_func_nanosleep=yes}
44gl_cv_func_strtod_works=${gl_cv_func_strtod_works=yes}
43gl_cv_func_tzset_clobber=${gl_cv_func_tzset_clobber=no} 45gl_cv_func_tzset_clobber=${gl_cv_func_tzset_clobber=no}
44gl_cv_func_gettimeofday_posix_signature=${gl_cv_func_gettimeofday_posix_signature=yes} 46gl_cv_func_gettimeofday_posix_signature=${gl_cv_func_gettimeofday_posix_signature=yes}
45gl_cv_func_working_mkstemp=${gl_cv_func_working_mkstemp=yes} 47gl_cv_func_working_mkstemp=${gl_cv_func_working_mkstemp=yes}