From: Ian Campbell Date: Mon, 21 Jul 2014 11:29:14 +0000 (+0100) Subject: libxc: disable valgrind integration when building for minios X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~4617 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=100546c0d2045943b721da9edac312397a87f761;p=xen.git libxc: disable valgrind integration when building for minios The stubdom build system incorrectly picks up on the hosts installation of Valgrind, which cannot work in a stubdom environment. Signed-off-by: Ian Campbell Tested-by: Simon Martin Reviewed-by: Andrew Cooper Acked-by: Samuel Thibault [ ijc -- s/define/defined/ ] --- diff --git a/tools/libxc/xc_private.h b/tools/libxc/xc_private.h index ce7e81ee1c..c50a7c9402 100644 --- a/tools/libxc/xc_private.h +++ b/tools/libxc/xc_private.h @@ -34,7 +34,7 @@ #include -#if defined(HAVE_VALGRIND_MEMCHECK_H) && !defined(NDEBUG) +#if defined(HAVE_VALGRIND_MEMCHECK_H) && !defined(NDEBUG) && !defined(__MINIOS__) /* Compile in Valgrind client requests? */ #include #else