blob: f0cf8148e1b91acd47258090f02d73feec86577f [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001From 32e8a94b6ae664d9b5689e19d495e304c0f41954 Mon Sep 17 00:00:00 2001
Brad Bishopd5ae7d92018-06-14 09:52:03 -07002From: Ross Burton <ross.burton@intel.com>
3Date: Tue, 20 Oct 2015 22:19:08 +0100
4Subject: [PATCH] qemu: disable Valgrind
5
6There isn't an option to enable or disable valgrind support, so disable it to avoid non-deterministic builds.
7
8Upstream-Status: Inappropriate
9Signed-off-by: Ross Burton <ross.burton@intel.com>
Brad Bishop19323692019-04-05 15:28:33 -040010
Brad Bishopd5ae7d92018-06-14 09:52:03 -070011---
12 configure | 9 ---------
13 1 file changed, 9 deletions(-)
14
15diff --git a/configure b/configure
Brad Bishop19323692019-04-05 15:28:33 -040016index 0a3c6a72..069e0daa 100755
Brad Bishopd5ae7d92018-06-14 09:52:03 -070017--- a/configure
18+++ b/configure
Brad Bishop19323692019-04-05 15:28:33 -040019@@ -5044,15 +5044,6 @@ fi
Brad Bishopd5ae7d92018-06-14 09:52:03 -070020 # check if we have valgrind/valgrind.h
21
22 valgrind_h=no
23-cat > $TMPC << EOF
24-#include <valgrind/valgrind.h>
25-int main(void) {
26- return 0;
27-}
28-EOF
29-if compile_prog "" "" ; then
30- valgrind_h=yes
31-fi
32
33 ########################################
34 # check if environ is declared