package/qt5/qt5webkit: needs host gcc >= 4.8 for icu support
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 10 Jun 2017 09:15:13 +0000 (11:15 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 10 Jun 2017 21:06:59 +0000 (23:06 +0200)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/qt5/qt5webkit/Config.in

index cef7532e7c0d9d45fb77f98ec691585579a2b0c1..109f60125ea81fa26e398eaab6a65c4c33387798 100644 (file)
@@ -2,6 +2,7 @@ config BR2_PACKAGE_QT5WEBKIT
        bool "qt5webkit"
        depends on !BR2_STATIC_LIBS
        depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
+       depends on BR2_HOST_GCC_AT_LEAST_4_8 # icu
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # icu
        depends on !BR2_BINFMT_FLAT # icu
        # assumes a FPU is available on MIPS
@@ -27,8 +28,9 @@ config BR2_PACKAGE_QT5WEBKIT
 
          http://doc.qt.io/archives/qt-5.5/qtwebkit-index.html
 
-comment "qt5webkit needs a toolchain w/ dynamic library, gcc >= 4.8"
-       depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
+comment "qt5webkit needs a toolchain w/ dynamic library, gcc >= 4.8, host gcc >= 4.8"
+       depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
+               !BR2_HOST_GCC_AT_LEAST_4_8
        depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
        depends on !BR2_BINFMT_FLAT
        depends on !BR2_MIPS_SOFT_FLOAT