035f18db04
crun unconditionally uses atomic_bool when libgcrypt is found since version 1.7.1 and40f66c0a74
resulting in the following build failure with gcc 4.8 since commit6987b92da5
: src/libcrun/seccomp.c: In function 'calculate_seccomp_checksum': src/libcrun/seccomp.c:374:3: error: unknown type name 'atomic_bool' static atomic_bool initialized = false; ^ Fixes: - http://autobuild.buildroot.org/results/924806ffd6d83cd6d8226577c3877b0b8ca2722d Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Reviewed-by: Christian Stewart <christian@paral.in> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
15 lines
494 B
Plaintext
15 lines
494 B
Plaintext
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_YAJL # libocispec
|
|
help
|
|
crun is a fast and low-memory OCI Container Runtime in C.
|
|
|
|
https://github.com/containers/crun
|
|
|
|
comment "crun needs a glibc or musl toolchain, gcc >= 4.9"
|
|
depends on BR2_TOOLCHAIN_USES_UCLIBC || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|