mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/crun: needs gcc >= 4.9
crun unconditionally uses atomic_bool when libgcrypt is found since version 1.7.1 and40f66c0a74resulting 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>
This commit is contained in:
committed by
Peter Korsgaard
parent
9103c8f2e9
commit
035f18db04
@@ -1,6 +1,7 @@
|
|||||||
config BR2_PACKAGE_CRUN
|
config BR2_PACKAGE_CRUN
|
||||||
bool "crun"
|
bool "crun"
|
||||||
depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve
|
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_MUSL
|
||||||
select BR2_PACKAGE_YAJL # libocispec
|
select BR2_PACKAGE_YAJL # libocispec
|
||||||
help
|
help
|
||||||
@@ -8,5 +9,6 @@ config BR2_PACKAGE_CRUN
|
|||||||
|
|
||||||
https://github.com/containers/crun
|
https://github.com/containers/crun
|
||||||
|
|
||||||
comment "crun needs a glibc or musl toolchain"
|
comment "crun needs a glibc or musl toolchain, gcc >= 4.9"
|
||||||
depends on BR2_TOOLCHAIN_USES_UCLIBC
|
depends on BR2_TOOLCHAIN_USES_UCLIBC || \
|
||||||
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||||
|
|||||||
Reference in New Issue
Block a user