aboutsummaryrefslogtreecommitdiffstats
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-28 15:55:47 +0100
commitafa4d5ebfab310d2e1ddbe3bf55e3dbb5b806d7f (patch)
tree658ffe256f85d32ec2a2da065aa7e0f4b6702911
parent04344ebbc45fdbc3274d6a84ac37f1c86a5247a9 (diff)
downloadopenembedded-core-contrib-afa4d5ebfab310d2e1ddbe3bf55e3dbb5b806d7f.tar.gz
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 (From OE-Core rev: dbf2ac39913429a0d2a8ce129cebe4469d6a2c22) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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}