|
@@ -180,17 +180,22 @@ config BR2_PACKAGE_PHP_EXT_ICONV
|
|
|
|
|
|
config BR2_PACKAGE_PHP_EXT_INTL
|
|
|
bool "intl"
|
|
|
+ depends on BR2_HOST_GCC_AT_LEAST_4_8 # icu
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
|
depends on BR2_USE_WCHAR
|
|
|
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # icu
|
|
|
depends on !BR2_BINFMT_FLAT # icu
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # icu
|
|
|
select BR2_PACKAGE_ICU
|
|
|
help
|
|
|
Internationalization support
|
|
|
|
|
|
-comment "intl support needs a toolchain w/ C++, wchar, threads"
|
|
|
+comment "intl support 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
|
|
|
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
|
|
|
+ !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
|
+ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
|
|
|
+ !BR2_HOST_GCC_AT_LEAST_4_8
|
|
|
|
|
|
config BR2_PACKAGE_PHP_EXT_MBSTRING
|
|
|
bool "mbstring"
|