package/icu: needs host gcc >= 4.8
authorBernd Kuhls <bernd.kuhls@t-online.de>
Mon, 5 Jun 2017 17:14:42 +0000 (19:14 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 6 Jun 2017 20:15:36 +0000 (22:15 +0200)
Fixes
http://autobuild.buildroot.net/results/2b3/2b3a9be1780857db8827ea70df9d8699116a5df7/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/icu/Config.in

index 32f35b9d9661663e361225e1ce2800a31dd3d43c..fde486b600f0021701e5294b6035470e78c5b5b8 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_ICU
        bool "icu"
+       depends on BR2_HOST_GCC_AT_LEAST_4_8
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_WCHAR
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
@@ -26,8 +27,9 @@ config BR2_PACKAGE_ICU_CUSTOM_DATA_PATH
 
 endif
 
-comment "icu needs a toolchain w/ C++, wchar, threads, gcc >= 4.8"
+comment "icu needs a toolchain w/ C++, wchar, threads, gcc >= 4.8, host gcc >= 4.8"
        depends on !BR2_BINFMT_FLAT
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
                !BR2_TOOLCHAIN_HAS_THREADS || \
-               !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
+               !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
+               !BR2_HOST_GCC_AT_LEAST_4_8