From b2a7c4db4be1900a88c7062dcf5f0f0b4bbf5434 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 9 Oct 2026 09:56:22 +0200 Subject: [PATCH] package/quickjs: enable uClibc support The internal Buildroot toolchain does support FENV in uClibc since commit 4c5039b80ebbe42db35af189afcff7fb7d5cace6. Tested in Qemu system emulation for aarch64. Signed-off-by: Waldemar Brodkorb Signed-off-by: Thomas Petazzoni --- package/quickjs/Config.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package/quickjs/Config.in b/package/quickjs/Config.in index 0ae0389b2e..99f1c66be5 100644 --- a/package/quickjs/Config.in +++ b/package/quickjs/Config.in @@ -3,8 +3,6 @@ config BR2_PACKAGE_QUICKJS depends on !BR2_microblaze # fenv.h lacks FE_{DOWN,UP}WARD depends on !BR2_sh # fenv.h lacks FE_{DOWN,UP}WARD 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() @@ -15,9 +13,9 @@ config BR2_PACKAGE_QUICKJS https://bellard.org/quickjs/ -comment "quickjs needs a glibc or musl toolchain w/ gcc >= 4.9, host gcc >= 4.9, dynamic library" +comment "quickjs needs a toolchain w/ gcc >= 4.9, host gcc >= 4.9, dynamic library" depends on !BR2_microblaze depends on !BR2_sh depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_UCLIBC || \ + depends on BR2_STATIC_LIBS || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_HOST_GCC_AT_LEAST_4_9