* [Buildroot] [PATCH] package/quickjs: depends on gcc 4.9 at least
@ 2020-12-06 6:39 Francois Perrad
2020-12-29 22:03 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Francois Perrad @ 2020-12-06 6:39 UTC (permalink / raw)
To: buildroot
fix build http://autobuild.buildroot.org/results/d45/d456eefffd138a714e367f9520adb662f5e0f57e/
missing include <stdatomic.h>
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
package/quickjs/Config.in | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/package/quickjs/Config.in b/package/quickjs/Config.in
index ee53744bd..886cbd4db 100644
--- a/package/quickjs/Config.in
+++ b/package/quickjs/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_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_USE_MMU # fork()
help
QuickJS is a small and embeddable Javascript engine.
@@ -11,6 +12,6 @@ config BR2_PACKAGE_QUICKJS
https://bellard.org/quickjs/
-comment "quickjs needs a glibc or musl toolchain w/ dynamic library"
+comment "quickjs needs a glibc or musl toolchain w/ gcc >= 4.9, dynamic library"
depends on BR2_USE_MMU
- depends on BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_UCLIBC
+ depends on BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_UCLIBC || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
--
2.27.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-29 22:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-06 6:39 [Buildroot] [PATCH] package/quickjs: depends on gcc 4.9 at least Francois Perrad
2020-12-29 22:03 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox