blob: 0ac4ab40b1e04b1dd3bb726bc7ad4eae9fc0cd38 [file] [log] [blame]
Brad Bishopc68388fc2019-08-26 01:33:31 -04001From 3ad7a375015d47fdf5016e03e11fa93440d6d8bd 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
Brad Bishopc68388fc2019-08-26 01:33:31 -040016index 714e7fb6..dad4fc59 100755
Brad Bishopc342db32019-05-15 21:57:59 -040017--- a/configure
18+++ b/configure
Brad Bishopc68388fc2019-08-26 01:33:31 -040019@@ -5335,15 +5335,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