From d82fea26623e3934e1e6f82d9f6fce078914419b Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Tue, 21 Feb 2023 16:27:22 +0100 Subject: [PATCH] package/janet: needs gcc >= 4.9 janet needs gcc >= 4.9 for stdatomic.h since version 1.26.0 and https://github.com/janet-lang/janet/commit/bfcfd58259911b92ff516bab9216831b34653805 resulting in the following build failure since commit 5c6f32bd255fc97823d464beacfa905a141066ec: src/core/abstract.c:35:23: fatal error: stdatomic.h: No such file or directory Fixes: - http://autobuild.buildroot.org/results/a2b40adb93b751221ba2cdf9a705f86c30499021 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/janet/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/janet/Config.in b/package/janet/Config.in index 0e25ce34e3..7b78c14bf4 100644 --- a/package/janet/Config.in +++ b/package/janet/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_JANET bool "janet" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h help Janet is a functional and imperative programming language. The entire language (core library, interpreter, compiler, @@ -8,3 +9,6 @@ config BR2_PACKAGE_JANET and two headers. https://janet-lang.org/ + +comment "janet needs a toolchain w/ gcc >= 4.9" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9