package/qt5/qt5base: needs host gcc >= 4.8 for icu support
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 10 Jun 2017 09:15:12 +0000 (11:15 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 10 Jun 2017 21:06:24 +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/qt5base/Config.in

index 3e6e895054af5ea6cbafa211e8e562678c94b24c..2610f6bd2077eaaa00b87653fc20e91e305920e3 100644 (file)
@@ -258,6 +258,7 @@ config BR2_PACKAGE_QT5BASE_DBUS
 
 config BR2_PACKAGE_QT5BASE_ICU
        bool "Enable ICU support"
+       depends on BR2_HOST_GCC_AT_LEAST_4_8 # icu
        depends on !BR2_BINFMT_FLAT # icu
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # icu
        select BR2_PACKAGE_ICU
@@ -265,9 +266,10 @@ config BR2_PACKAGE_QT5BASE_ICU
          This option enables ICU support in Qt5. This is for example
          needed for Qt5Webkit.
 
-comment "icu support needs a toolchain w/ gcc >= 4.8"
+comment "icu support needs a toolchain w/ gcc >= 4.8, host gcc >= 4.8"
        depends on !BR2_BINFMT_FLAT
-       depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
+       depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
+               !BR2_HOST_GCC_AT_LEAST_4_8
 
 config BR2_PACKAGE_QT5BASE_TSLIB
        bool "Enable Tslib support"