libxc: disable valgrind integration when building for minios
authorIan Campbell <ian.campbell@citrix.com>
Mon, 21 Jul 2014 11:29:14 +0000 (12:29 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 24 Jul 2014 15:23:04 +0000 (16:23 +0100)
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 <ian.campbell@citrix.com>
Tested-by: Simon Martin <furryfuttock@gmail.com>
Reviewed-by: Andrew Cooper<andrew.cooper3@citrix.com>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
[ ijc -- s/define/defined/ ]

tools/libxc/xc_private.h

index ce7e81ee1cef965b58e660507c93ec876f269968..c50a7c94021b8dcf5c44a291dd4afc9cf51366c1 100644 (file)
@@ -34,7 +34,7 @@
 
 #include <xen/sys/privcmd.h>
 
-#if defined(HAVE_VALGRIND_MEMCHECK_H) && !defined(NDEBUG)
+#if defined(HAVE_VALGRIND_MEMCHECK_H) && !defined(NDEBUG) && !defined(__MINIOS__)
 /* Compile in Valgrind client requests? */
 #include <valgrind/memcheck.h>
 #else