summaryrefslogtreecommitdiffstats
path: root/meta/site/common-linux
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-07-12 23:38:50 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-20 10:28:47 +0100
commite558b50afcf5b665f4323fe1b0552cba2b46b6f1 (patch)
treee9b9da92c7b6d54ac8ca867f36d1c2fa451ea52d /meta/site/common-linux
parent17dcf19d867eb15d5eadedfda99b18b3b0c379bb (diff)
downloadpoky-e558b50afcf5b665f4323fe1b0552cba2b46b6f1.tar.gz
site: Move rsync_cv_HAVE_C99_VSNPRINTF to common-linux
If we do not cache is then configure in distcc will try to compute it using AC_TRY_RUN which will give some result on x86-64 host when target is x86-64 but it generally is wrong for cross compilation. We therefore cache it for all linux targets. This issue is highlighted by clang when compiling distcc where it figures that its cross compiling and therefore triggers it to include its own implementation of snprintf() which does not go well with clang, gcc compiles it fine thats why we never saw the problem thus far. (From OE-Core rev: e940dfcb5ad4017e5fe616c583253439603656db) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/site/common-linux')
-rw-r--r--meta/site/common-linux3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/site/common-linux b/meta/site/common-linux
index 0a752a40eb..2958716395 100644
--- a/meta/site/common-linux
+++ b/meta/site/common-linux
@@ -61,3 +61,6 @@ ac_cv_have_long_long_format=yes
61 61
62# apache 62# apache
63ac_cv_o_nonblock_inherited=${ac_cv_o_nonblock_inherited=no} 63ac_cv_o_nonblock_inherited=${ac_cv_o_nonblock_inherited=no}
64
65# rsync
66rsync_cv_HAVE_C99_VSNPRINTF=${rsync_cv_HAVE_C99_VSNPRINTF=yes}