aboutsummaryrefslogtreecommitdiffstats
path: root/meta/site
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-03-25 09:42:50 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-26 22:49:36 +0000
commitdbf2ac39913429a0d2a8ce129cebe4469d6a2c22 (patch)
tree123f80ddee6cde328293dc3532f246ab2ef462a6 /meta/site
parent41673bb53108cd4d0f0f37c8c675256c80173135 (diff)
downloadopenembedded-core-contrib-dbf2ac39913429a0d2a8ce129cebe4469d6a2c22.tar.gz
openembedded-core-contrib-dbf2ac39913429a0d2a8ce129cebe4469d6a2c22.tar.bz2
openembedded-core-contrib-dbf2ac39913429a0d2a8ce129cebe4469d6a2c22.zip
site: Cache config vars for ccache
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@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/site')
-rw-r--r--meta/site/common-linux4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/site/common-linux b/meta/site/common-linux
index 21fcac1c36..0a752a40eb 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}