From 1880a061e8a34b759a62da9ef0eed8ab566c88dd Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 25 Jun 2023 19:57:06 +0200 Subject: [PATCH] package/quickjs: disable on sh* quickjs unconditionally uses FE_{DOWN,UP}WARD and so fails to build on sh* since its addition in commit 5d50793659acb95050c110d5fc05399df20ce30b Fixes: sh4: http://autobuild.buildroot.net/results/46d/46d7da58a857939ee3a33f60ab64ad278157c3bd/ sh4a: http://autobuild.buildroot.net/results/b1d/b1db05e79e5505c6606524e54e159224b633eac2/ sh4aeb: http://autobuild.buildroot.net/results/c30/c307a1b67142405f81c9276056b28bea366f2ccf/ sh4eb: http://autobuild.buildroot.net/results/945/945b508385ba5aa25f982f8a8493628fa828e472/ Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle --- package/quickjs/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/quickjs/Config.in b/package/quickjs/Config.in index 292dba86d0..fd174bc657 100644 --- a/package/quickjs/Config.in +++ b/package/quickjs/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_QUICKJS bool "quickjs" depends on !BR2_microblaze # fenv.h lacks FE_{DOWN,UP}WARD depends on !BR2_nios2 # fenv.h lacks FE_{DOWN,UP}WARD on nios2 + 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 @@ -18,6 +19,7 @@ config BR2_PACKAGE_QUICKJS comment "quickjs needs a glibc or musl toolchain w/ gcc >= 4.9, host gcc >= 4.9, dynamic library" depends on !BR2_microblaze depends on !BR2_nios2 + depends on !BR2_sh 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