[Buildroot] [git commit] package/crun: allow building with uClibc

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Sep 7 14:51:42 UTC 2023


commit: https://git.buildroot.net/buildroot/commit/?id=223596c75d73a7eb29152235d3c5d9bf53bd58f5
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

uClibc now provides fexecve(), so crun can build just fine with
uClibc. However, argp-standalone is needed, just like it was needed
for musl.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Reviewed-by: Christian Stewart <christian at aperture.us>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/crun/Config.in | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/package/crun/Config.in b/package/crun/Config.in
index 45c86f0655..1b69034459 100644
--- a/package/crun/Config.in
+++ b/package/crun/Config.in
@@ -1,8 +1,7 @@
 config BR2_PACKAGE_CRUN
 	bool "crun"
-	depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
-	select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_MUSL
+	select BR2_PACKAGE_ARGP_STANDALONE if !BR2_TOOLCHAIN_USES_GLIBC
 	select BR2_PACKAGE_YAJL # libocispec
 	help
 	  crun is a fast and low-memory OCI Container Runtime in C.



More information about the buildroot mailing list