0002-bmalloc-Failure-to-build-when-the-compiler-specifica.patch 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. From 07dab7fe552c53e7840e34d3c8bb1cc43a921706 Mon Sep 17 00:00:00 2001
  2. From: "aperez@igalia.com"
  3. <aperez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
  4. Date: Wed, 12 Jul 2017 18:43:36 +0000
  5. Subject: [PATCH] bmalloc: Failure to build when the compiler specifically
  6. targets ARMv8-A / defines __ARM_ARCH_8A__
  7. https://bugs.webkit.org/show_bug.cgi?id=174424
  8. Reviewed by Michael Catanzaro.
  9. * bmalloc/BPlatform.h: Also check for __ARCH_ARM_8A__ to detect ARMv8.
  10. Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
  11. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@219416 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  12. ---
  13. Source/bmalloc/bmalloc/BPlatform.h | 3 ++-
  14. 1 file changed, 2 insertions(+), 1 deletion(-)
  15. diff --git a/Source/bmalloc/bmalloc/BPlatform.h b/Source/bmalloc/bmalloc/BPlatform.h
  16. index 8d768db63fb..400143a63fb 100644
  17. --- a/Source/bmalloc/bmalloc/BPlatform.h
  18. +++ b/Source/bmalloc/bmalloc/BPlatform.h
  19. @@ -120,7 +120,8 @@
  20. || defined(__ARM_ARCH_7S__)
  21. #define BARM_ARCH_VERSION 7
  22. -#elif defined(__ARM_ARCH_8__)
  23. +#elif defined(__ARM_ARCH_8__) \
  24. +|| defined(__ARM_ARCH_8A__)
  25. #define BARM_ARCH_VERSION 8
  26. /* MSVC sets _M_ARM */
  27. --
  28. 2.13.3