All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libxc: disable valgrind integration when building for minios
@ 2014-07-21 11:29 Ian Campbell
  2014-07-21 11:30 ` Andrew Cooper
  2014-07-21 11:34 ` Samuel Thibault
  0 siblings, 2 replies; 4+ messages in thread
From: Ian Campbell @ 2014-07-21 11:29 UTC (permalink / raw)
  To: xen-devel
  Cc: Simon Martin, ian.jackson, Ian Campbell, Samuel Thibault,
	Andrew Cooper

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>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>
---
 tools/libxc/xc_private.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/libxc/xc_private.h b/tools/libxc/xc_private.h
index ce7e81e..43826e5 100644
--- a/tools/libxc/xc_private.h
+++ b/tools/libxc/xc_private.h
@@ -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) && !define(__MINIOS__)
 /* Compile in Valgrind client requests? */
 #include <valgrind/memcheck.h>
 #else
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-24 15:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-21 11:29 [PATCH] libxc: disable valgrind integration when building for minios Ian Campbell
2014-07-21 11:30 ` Andrew Cooper
2014-07-21 11:34 ` Samuel Thibault
2014-07-24 15:55   ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.