0004-qemu-disable-Valgrind.patch 903 B

12345678910111213141516171819202122232425262728293031323334
  1. From 4127296bb1046cdf73994ba69dc913d8c02fd74f 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. There isn't an option to enable or disable valgrind support, so disable it to avoid non-deterministic builds.
  6. Upstream-Status: Inappropriate
  7. Signed-off-by: Ross Burton <ross.burton@intel.com>
  8. ---
  9. configure | 9 ---------
  10. 1 file changed, 9 deletions(-)
  11. Index: qemu-6.0.0/configure
  12. ===================================================================
  13. --- qemu-6.0.0.orig/configure
  14. +++ qemu-6.0.0/configure
  15. @@ -4648,15 +4648,6 @@ fi
  16. # check if we have valgrind/valgrind.h
  17. valgrind_h=no
  18. -cat > $TMPC << EOF
  19. -#include <valgrind/valgrind.h>
  20. -int main(void) {
  21. - return 0;
  22. -}
  23. -EOF
  24. -if compile_prog "" "" ; then
  25. - valgrind_h=yes
  26. -fi
  27. ########################################
  28. # check if environ is declared