diff --git a/package/quickjs/Config.in b/package/quickjs/Config.in index 886cbd4db6..5c3b068c3a 100644 --- a/package/quickjs/Config.in +++ b/package/quickjs/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_QUICKJS # No way to check for fenv support. depends on !BR2_TOOLCHAIN_USES_UCLIBC depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h + depends on BR2_HOST_GCC_AT_LEAST_4_9 # C11/stdatomic.h depends on BR2_USE_MMU # fork() help QuickJS is a small and embeddable Javascript engine. @@ -12,6 +13,7 @@ config BR2_PACKAGE_QUICKJS https://bellard.org/quickjs/ -comment "quickjs needs a glibc or musl toolchain w/ gcc >= 4.9, dynamic library" +comment "quickjs needs a glibc or musl toolchain w/ gcc >= 4.9, host gcc >= 4.9, dynamic library" depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_UCLIBC || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + depends on BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_UCLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_HOST_GCC_AT_LEAST_4_9