buildroot/package/quickjs/Config.in
Fabrice Fontaine b147af911a package/quickjs: disable on nios2
quickjs unconditionally uses FE_{DOWN,UP}WARD and so fails to build on
nios2 since its addition in commit
5d50793659

Fixes:
 - http://autobuild.buildroot.org/results/69e280a7f478d1b16be989c7bd559f766053134b
 - http://autobuild.buildroot.org/results/f2c3ef7e3bbe30ac24710288336adabebd8b83a6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-04-15 21:07:35 +02:00

22 lines
836 B
Plaintext

config BR2_PACKAGE_QUICKJS
bool "quickjs"
depends on !BR2_nios2 # fenv.h lacks FE_{DOWN,UP}WARD on nios2
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_HOST_GCC_AT_LEAST_4_9 # C11/stdatomic.h
depends on BR2_USE_MMU # fork()
help
QuickJS is a small and embeddable Javascript engine.
It supports the ES2020 specification including modules,
asynchronous generators, proxies and BigInt.
https://bellard.org/quickjs/
comment "quickjs needs a glibc or musl toolchain w/ gcc >= 4.9, host gcc >= 4.9, dynamic library"
depends on !BR2_nios2
depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_UCLIBC || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_HOST_GCC_AT_LEAST_4_9