summaryrefslogtreecommitdiffstats
path: root/meta/site/common-glibc
diff options
context:
space:
mode:
authorJulian Pidancet <julian.pidancet@gmail.com>2011-10-26 22:41:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-30 16:38:05 +0000
commitdc09c258f0a0cf1f2a4ffd40d7c94332aea94f62 (patch)
tree9afe38ccb5a2d508d5c7128df47b85d1f03c368a /meta/site/common-glibc
parent5de0f305f96a630ee22eae2ff796e2b74de4344d (diff)
downloadpoky-dc09c258f0a0cf1f2a4ffd40d7c94332aea94f62.tar.gz
Give coreutils a chance to build the df utility
The coreutils configure script is unable determine how to get free space from the Operating System when cross-compiling. This changes caches the result of the "statfs2_bsize" test for the coreutils configure script. Both glibc and uclibc defines statfs as a two-argument function and uses a struct statfs containing a f_bsize field. That's why the fu_cv_sys_stat_statfs2_bsize variable has to be defined for both libcs. (From OE-Core rev: fa1eb21933a880aa20e4ca87574753b1ec272c3b) (From OE-Core rev: 5be987aeb5e34bb1277f86a7f294607a6d935a19) Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/site/common-glibc')
-rw-r--r--meta/site/common-glibc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/site/common-glibc b/meta/site/common-glibc
index 9b74038d90..364ab67d78 100644
--- a/meta/site/common-glibc
+++ b/meta/site/common-glibc
@@ -25,6 +25,9 @@ clamav_av_have_in_port_t=${clamav_av_have_in_port_t=yes}
25clamav_av_have_in_addr_t=${clamav_av_have_in_addr_t=yes} 25clamav_av_have_in_addr_t=${clamav_av_have_in_addr_t=yes}
26ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes} 26ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes}
27 27
28# coreutils
29fu_cv_sys_stat_statfs2_bsize=${fu_cv_sys_stat_statfs2_bsize=yes}
30
28# glib 31# glib
29glib_cv_strlcpy=${glib_cv_strlcpy=no} 32glib_cv_strlcpy=${glib_cv_strlcpy=no}
30ac_cv_func_printf_unix98=${ac_cv_func_printf_unix98=yes} 33ac_cv_func_printf_unix98=${ac_cv_func_printf_unix98=yes}