From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: [PATCH] libxc: disable valgrind integration when building for minios Date: Mon, 21 Jul 2014 12:29:14 +0100 Message-ID: <1405942154-7312-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Simon Martin , ian.jackson@eu.citrix.com, Ian Campbell , Samuel Thibault , Andrew Cooper List-Id: xen-devel@lists.xenproject.org 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 Cc: Andrew Cooper Cc: Samuel Thibault --- 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 -#if defined(HAVE_VALGRIND_MEMCHECK_H) && !defined(NDEBUG) +#if defined(HAVE_VALGRIND_MEMCHECK_H) && !defined(NDEBUG) && !define(__MINIOS__) /* Compile in Valgrind client requests? */ #include #else -- 1.7.10.4