Skip to contentSkip to conversation

site: Cache config vars for ccache

PATCH New Khem Raj 1 participant 1 message Apr 13, 2016

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 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

---
 meta/site/common-linux | 4 ++++
 1 file changed, 4 insertions(+)
meta/site/common-linux +4 -0
index 21fcac1..0a752a4 100644
@@ -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}
 
Signature · 1 line
2.7.4