kumquat-buildroot/package/quickjs/Config.in
Peter Seiderer 1af6d7408c package/quickjs: needs host gcc >= 4.9 (C11/stdatomic.h)
Fixes:

  - http://autobuild.buildroot.net/results/c7882cc2d66984350f54d619f39cfee5065d941a

  gcc -g -Wall -MMD -MF .obj/libregexp.host.o.d -Wno-array-bounds -Wno-format-truncation -D_GNU_SOURCE -DCONFIG_VERSION=\"2020-11-08\" -DCONFIG_BIGNUM -O2 -flto -c -o .obj/libregexp.host.o libregexp.c
  quickjs.c:112:23: fatal error: stdatomic.h: No such file or directory
   #include <stdatomic.h>
                         ^
  compilation terminated.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-01-03 22:03:51 +01:00

20 lines
749 B
Plaintext

config BR2_PACKAGE_QUICKJS
bool "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_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_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