summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAndré Draszik <git@andred.net>2020-01-10 16:52:52 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-11 09:19:20 +0000
commite594841ef5644b8a09878c8a949b05c71de4f594 (patch)
treea6ad9dc1ee7ee8ff25746fc741191a16017d1e01 /meta
parenta67d08fd63c0c655eb73d05d16bcdc06746fef96 (diff)
downloadpoky-e594841ef5644b8a09878c8a949b05c71de4f594.tar.gz
site: musl and glibc have glibc compatible getcwd()
I.e. allocate memory for the pointer returned when the first argument is NULL. (From OE-Core rev: fe148da36af2dc086e05e2ebc1c088f1b5485de2) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/site/common-glibc1
-rw-r--r--meta/site/common-musl1
2 files changed, 2 insertions, 0 deletions
diff --git a/meta/site/common-glibc b/meta/site/common-glibc
index baab03c588..e5085f518f 100644
--- a/meta/site/common-glibc
+++ b/meta/site/common-glibc
@@ -29,6 +29,7 @@ ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes}
29 29
30# coreutils 30# coreutils
31fu_cv_sys_stat_statfs2_bsize=${fu_cv_sys_stat_statfs2_bsize=yes} 31fu_cv_sys_stat_statfs2_bsize=${fu_cv_sys_stat_statfs2_bsize=yes}
32gl_cv_func_getcwd_null=${gl_cv_func_getcwd_null=yes}
32gl_cv_func_working_mkstemp=${gl_cv_func_working_mkstemp=yes} 33gl_cv_func_working_mkstemp=${gl_cv_func_working_mkstemp=yes}
33 34
34# glib 35# glib
diff --git a/meta/site/common-musl b/meta/site/common-musl
index d8ff44327f..0c9d21e0b7 100644
--- a/meta/site/common-musl
+++ b/meta/site/common-musl
@@ -34,6 +34,7 @@ bash_cv_sys_siglist=${bash_cv_sys_siglist=no}
34 34
35# coreutils 35# coreutils
36fu_cv_sys_stat_statfs2_bsize=${fu_cv_sys_stat_statfs2_bsize=yes} 36fu_cv_sys_stat_statfs2_bsize=${fu_cv_sys_stat_statfs2_bsize=yes}
37gl_cv_func_getcwd_null=${gl_cv_func_getcwd_null=yes}
37gl_cv_func_gettimeofday_clobber=${gl_cv_func_gettimeofday_clobber=no} 38gl_cv_func_gettimeofday_clobber=${gl_cv_func_gettimeofday_clobber=no}
38gl_cv_func_tzset_clobber=${gl_cv_func_tzset_clobber=no} 39gl_cv_func_tzset_clobber=${gl_cv_func_tzset_clobber=no}
39gl_cv_func_gettimeofday_posix_signature=${gl_cv_func_gettimeofday_posix_signature=yes} 40gl_cv_func_gettimeofday_posix_signature=${gl_cv_func_gettimeofday_posix_signature=yes}