mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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 <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/ ]
This commit is contained in:
1 parent
d193507d3e
commit
100546c0d2
1 file changed
+1
-1
@@ -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
|
||||
|
||||