diff --git a/package/spidermonkey/Config.in b/package/spidermonkey/Config.in index 284502f618..5f12110626 100644 --- a/package/spidermonkey/Config.in +++ b/package/spidermonkey/Config.in @@ -16,6 +16,7 @@ config BR2_PACKAGE_SPIDERMONKEY_JIT_ARCH_SUPPORTS config BR2_PACKAGE_SPIDERMONKEY bool "spidermonkey" + depends on BR2_HOST_GCC_AT_LEAST_4_9 depends on BR2_INSTALL_LIBSTDCPP depends on BR2_PACKAGE_SPIDERMONKEY_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 @@ -43,5 +44,6 @@ comment "spidermonkey needs a glibc or musl toolchain with C++, wchar, dynamic l !BR2_INSTALL_LIBSTDCPP || \ BR2_STATIC_LIBS || \ !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ + !BR2_HOST_GCC_AT_LEAST_4_9 || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ !BR2_USE_WCHAR