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

index a007c36a63c3005ab9a80787d336c5b00f5879a7..88545151048e525a52c91d36fcdfe721cc79301e 100644 (file)
@@ -13,6 +13,7 @@ if BR2_PACKAGE_BEECRYPT
 
 config BR2_PACKAGE_BEECRYPT_CPP
        bool "C++ support"
+       depends on BR2_HOST_GCC_AT_LEAST_4_8 # icu
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # icu
        depends on BR2_USE_WCHAR # icu
@@ -22,9 +23,10 @@ config BR2_PACKAGE_BEECRYPT_CPP
        help
          Enable C++ support. This pulls in the (large) icu package.
 
-comment "C++ support needs a toolchain w/ C++, wchar, dynamic libraries, gcc >= 4.8"
+comment "C++ support needs a toolchain w/ C++, wchar, dynamic libraries, gcc >= 4.8, host gcc >= 4.8"
        depends on !BR2_BINFMT_FLAT
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \
-               || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
+               || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \
+               || !BR2_HOST_GCC_AT_LEAST_4_8
 
 endif # BR2_PACKAGE_BEECRYPT