0014-Enable-QtWebKit-with-newer-GCC.patch 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. From f566411fb314b7e4ab01f28e25e942cfaf8c59b7 Mon Sep 17 00:00:00 2001
  2. From: Evgeniy Didin <didin@synopsys.com>
  3. Date: Fri, 15 Sep 2017 19:43:48 +0300
  4. Subject: [PATCH] qt: Allow enabling of QtWebKit with GCC 6+
  5. Building Qt with QtWebKit on configuration step there is
  6. a check which disables QtWebKit build with GCC 6+.
  7. Back in the day nobody thought about building Qt with GCC
  8. version greater than 5.x. And now with modern GCCs like
  9. 6.x and 7.x this assumption gets in the way.
  10. Given in Buildroot today we don't have GCC older than 4.9
  11. it should be safe to remove now meaningless check completely.
  12. Signed-off-by: Evgeniy Didin <didin@synopsys.com>
  13. Cc: Alexey Brodkin <abrodkin@synopsys.com>
  14. Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  15. ---
  16. configure | 14 --------------
  17. 1 file changed, 14 deletions(-)
  18. diff --git a/configure b/configure
  19. index 10ad7ca0b0..8771144a65 100755
  20. --- a/configure
  21. +++ b/configure
  22. @@ -7731,20 +7731,6 @@ case "$XPLATFORM" in
  23. canBuildWebKit="no"
  24. canBuildQtXmlPatterns="no"
  25. ;;
  26. - *-g++*)
  27. - # Check gcc's version
  28. - case "$(${QMAKE_CONF_COMPILER} -dumpversion)" in
  29. - 5*|4*|3.4*)
  30. - ;;
  31. - 3.3*)
  32. - canBuildWebKit="no"
  33. - ;;
  34. - *)
  35. - canBuildWebKit="no"
  36. - canBuildQtXmlPatterns="no"
  37. - ;;
  38. - esac
  39. - ;;
  40. solaris-cc*)
  41. # Check the compiler version
  42. case `${QMAKE_CONF_COMPILER} -V 2>&1 | awk '{print $4}'` in
  43. --
  44. 2.11.0