diff options
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu/0004-qemu-disable-Valgrind.patch')
| -rw-r--r-- | meta/recipes-devtools/qemu/qemu/0004-qemu-disable-Valgrind.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu/0004-qemu-disable-Valgrind.patch b/meta/recipes-devtools/qemu/qemu/0004-qemu-disable-Valgrind.patch new file mode 100644 index 0000000000..9e326081f2 --- /dev/null +++ b/meta/recipes-devtools/qemu/qemu/0004-qemu-disable-Valgrind.patch | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | From e40f797548bc3ff06c71b6cbe042a46406894d18 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 | --- | ||
| 12 | configure | 9 --------- | ||
| 13 | 1 file changed, 9 deletions(-) | ||
| 14 | |||
| 15 | diff --git a/configure b/configure | ||
| 16 | index 1c563a70..eaf9bb5e 100755 | ||
| 17 | --- a/configure | ||
| 18 | +++ b/configure | ||
| 19 | @@ -5311,15 +5311,6 @@ fi | ||
| 20 | # 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 | ||
