[oe-commits] [openembedded-core] 17/18: site: strtod() works in glibc / musl

git at git.openembedded.org git at git.openembedded.org
Sat Jan 11 09:20:07 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit c8429f707d9ac785f295492470ec8b9ff56c043b
Author: André Draszik <git at andred.net>
AuthorDate: Fri Jan 10 16:53:01 2020 +0000

    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.
    
    Signed-off-by: André Draszik <git at andred.net>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/site/common-glibc | 1 +
 meta/site/common-musl  | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/meta/site/common-glibc b/meta/site/common-glibc
index 1a28a27..4795d78 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}
 ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes}
 ac_cv_type_uid_t={ac_cv_type_uid_t=yes}
 ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes}
+ac_cv_func_strtod=${ac_cv_func_strtod=yes}
 
 # bash
 bash_cv_under_sys_siglist=${bash_cv_under_sys_siglist=yes}
diff --git a/meta/site/common-musl b/meta/site/common-musl
index 386991d..398eeac 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}
 ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes}
 ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes}
 ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes}
+ac_cv_func_strtod=${ac_cv_func_strtod=yes}
 
 # glib
 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
 ac_cv_func_getgroups_works=${ac_cv_func_getgroups_works=yes}
 gl_cv_func_gettimeofday_clobber=${gl_cv_func_gettimeofday_clobber=no}
 gl_cv_func_nanosleep=${gl_cv_func_nanosleep=yes}
+gl_cv_func_strtod_works=${gl_cv_func_strtod_works=yes}
 gl_cv_func_tzset_clobber=${gl_cv_func_tzset_clobber=no}
 gl_cv_func_gettimeofday_posix_signature=${gl_cv_func_gettimeofday_posix_signature=yes}
 gl_cv_func_working_mkstemp=${gl_cv_func_working_mkstemp=yes}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list