blob: bc30397e8c003ded882b2bb170023571fc8e8e66 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001From 4127296bb1046cdf73994ba69dc913d8c02fd74f Mon Sep 17 00:00:00 2001
Brad Bishopc342db32019-05-15 21:57:59 -04002From: 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>
10
11---
12 configure | 9 ---------
13 1 file changed, 9 deletions(-)
14
15diff --git a/configure b/configure
Andrew Geissler82c905d2020-04-13 13:39:40 -050016index 6099be1d..a766017b 100755
Brad Bishopc342db32019-05-15 21:57:59 -040017--- a/configure
18+++ b/configure
Andrew Geissler82c905d2020-04-13 13:39:40 -050019@@ -5390,15 +5390,6 @@ fi
Brad Bishopc342db32019-05-15 21:57:59 -040020 # 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