diff options
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu/0005-qemu-disable-Valgrind.patch')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu/0005-qemu-disable-Valgrind.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu/0005-qemu-disable-Valgrind.patch b/meta/recipes-devtools/qemu/qemu/0005-qemu-disable-Valgrind.patch new file mode 100644 index 0000000000..b9e01834ef --- /dev/null +++ b/meta/recipes-devtools/qemu/qemu/0005-qemu-disable-Valgrind.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From e85ee3cc9988172662d6969af01f23fa8ffd5262 Mon Sep 17 00:00:00 2001 | ||
2 | From: Ross Burton <ross.burton@intel.com> | ||
3 | Date: Tue, 20 Oct 2015 22:19:08 +0100 | ||
4 | Subject: [PATCH] qemu: disable Valgrind | ||
5 | |||
6 | There isn't an option to enable or disable valgrind support, so disable it to avoid non-deterministic builds. | ||
7 | |||
8 | Upstream-Status: Inappropriate | ||
9 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
10 | --- | ||
11 | configure | 9 --------- | ||
12 | 1 file changed, 9 deletions(-) | ||
13 | |||
14 | diff --git a/configure b/configure | ||
15 | index 0c6e757..c30fd45 100755 | ||
16 | --- a/configure | ||
17 | +++ b/configure | ||
18 | @@ -4741,15 +4741,6 @@ fi | ||
19 | # check if we have valgrind/valgrind.h | ||
20 | |||
21 | valgrind_h=no | ||
22 | -cat > $TMPC << EOF | ||
23 | -#include <valgrind/valgrind.h> | ||
24 | -int main(void) { | ||
25 | - return 0; | ||
26 | -} | ||
27 | -EOF | ||
28 | -if compile_prog "" "" ; then | ||
29 | - valgrind_h=yes | ||
30 | -fi | ||
31 | |||
32 | ######################################## | ||
33 | # check if environ is declared | ||