[OE-core] [PATCH] site: Cache config vars for ccache
Khem Raj
raj.khem at gmail.com
Wed Apr 13 15:50:04 UTC 2016
ccache's configure tries to do a runtime test to
determine hw_cv_func_snprintf_c99 and hw_cv_func_vsnprintf_c99
which wont work in OE.
c99 versions of these functions are provided on all
supported libc implementations in OE-Core
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta/site/common-linux | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/site/common-linux b/meta/site/common-linux
index 21fcac1..0a752a4 100644
--- a/meta/site/common-linux
+++ b/meta/site/common-linux
@@ -42,6 +42,10 @@ bash_cv_job_control_missing=${bash_cv_job_control_missing=present}
bash_cv_sys_named_pipes=${bash_cv_sys_named_pipes=present}
bash_cv_unusable_rtsigs=${bash_cv_unusable_rtsigs=no}
+# ccache
+hw_cv_func_snprintf_c99=${hw_cv_func_snprintf_c99=yes}
+hw_cv_func_vsnprintf_c99=${hw_cv_func_vsnprintf_c99=yes}
+
# coreutils
gl_cv_func_fstatat_zero_flag=${gl_cv_func_fstatat_zero_flag=yes}
--
2.7.4
More information about the Openembedded-core
mailing list