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

index efab0853e41301a61435c33e54830dfdf9f62f0c..2d9624c11649f218d330284d5eefa79a39fc381d 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_PYICU
        bool "python-pyicu"
+       depends on BR2_HOST_GCC_AT_LEAST_4_8 # icu
        depends on !BR2_BINFMT_FLAT # icu
        depends on BR2_INSTALL_LIBSTDCPP # icu
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # icu
@@ -9,7 +10,8 @@ config BR2_PACKAGE_PYTHON_PYICU
 
          https://github.com/ovalhub/pyicu
 
-comment "python-pyicu needs a toolchain w/ C++, gcc >= 4.8"
+comment "python-pyicu needs a toolchain w/ C++, gcc >= 4.8, host gcc >= 4.8"
        depends on !BR2_BINFMT_FLAT
        depends on !BR2_INSTALL_LIBSTDCPP || \
-               !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
+               !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
+               !BR2_HOST_GCC_AT_LEAST_4_8