qt5webkit-0002-Fix-QtWebKit-build-on-ARM-softfp.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. From 8a716a29721d900069d82878c45cf87a356adba3 Mon Sep 17 00:00:00 2001
  2. From: Allan Sandfeld Jensen <allan.jensen@digia.com>
  3. Date: Tue, 17 Dec 2013 12:26:58 +0100
  4. Subject: [PATCH] Fix QtWebKit build on ARM softfp
  5. The low level interpreter depends on hardfp, so we need to disable it
  6. when builing on ARM targets with softfp.
  7. Task-number: QTBUG-35681
  8. Change-Id: I8aaef546b92182a87cc7116ac452d8725de6a7db
  9. Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
  10. Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
  11. ---
  12. Source/WTF/wtf/Platform.h | 5 +++++
  13. 1 file changed, 5 insertions(+)
  14. diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h
  15. index 3a9b509..cddc210 100644
  16. --- a/Source/WTF/wtf/Platform.h
  17. +++ b/Source/WTF/wtf/Platform.h
  18. @@ -771,6 +771,11 @@
  19. #define ENABLE_LLINT 0
  20. #endif
  21. +/* LLINT on ARM depends on an FPU */
  22. +#if !defined(ENABLE_LLINT) && CPU(ARM) && !CPU(ARM_HARDFP)
  23. +#define ENABLE_LLINT 0
  24. +#endif
  25. +
  26. /* On some of the platforms where we have a JIT, we want to also have the
  27. low-level interpreter. */
  28. #if !defined(ENABLE_LLINT) \
  29. --
  30. 1.8.5.1