package/quickjs: depends on gcc 4.9 at least

fix build http://autobuild.buildroot.org/results/d45/d456eefffd138a714e367f9520adb662f5e0f57e/
missing include <stdatomic.h>

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Francois Perrad 2020-12-06 07:39:26 +01:00 committed by Thomas Petazzoni
parent b689a5a720
commit 09a7118fb2

View File

@ -3,6 +3,7 @@ config BR2_PACKAGE_QUICKJS
depends on !BR2_STATIC_LIBS
# 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_USE_MMU # fork()
help
QuickJS is a small and embeddable Javascript engine.
@ -11,6 +12,6 @@ config BR2_PACKAGE_QUICKJS
https://bellard.org/quickjs/
comment "quickjs needs a glibc or musl toolchain w/ dynamic library"
comment "quickjs needs a glibc or musl toolchain w/ gcc >= 4.9, dynamic library"
depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_UCLIBC
depends on BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_UCLIBC || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9