]> code.ossystems Code Review - openembedded-core.git/commit
site: Move rsync_cv_HAVE_C99_VSNPRINTF to common-linux
authorKhem Raj <raj.khem@gmail.com>
Wed, 13 Jul 2016 06:38:50 +0000 (23:38 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Jul 2016 09:24:51 +0000 (10:24 +0100)
commite940dfcb5ad4017e5fe616c583253439603656db
treedbe0dcff8c815efb9171a71f5f4814924f6d77c2
parentd13640f39f8f467597daa42774102329e82d9b68
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.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/site/arm-common
meta/site/common-linux
meta/site/ix86-common
meta/site/nios2-linux
meta/site/sh-common