diff --git a/package/openscap/Config.in b/package/openscap/Config.in index 01c628194c..b6deae0a5f 100644 --- a/package/openscap/Config.in +++ b/package/openscap/Config.in @@ -3,6 +3,8 @@ config BR2_PACKAGE_OPENSCAP depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt depends on !BR2_STATIC_LIBS # dlfcn.h depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libxmlsec1 + depends on BR2_TOOLCHAIN_HAS_ATOMIC # libxmlsec1 select BR2_PACKAGE_LIBCURL # In theory should build without crypto, but in practice it # doesn't: https://github.com/OpenSCAP/openscap/issues/2310 @@ -19,6 +21,8 @@ config BR2_PACKAGE_OPENSCAP https://www.open-scap.org/ https://github.com/OpenSCAP/openscap -comment "openscap needs a toolchain w/ dynamic library, NPTL" +comment "openscap needs a toolchain w/ dynamic library, NPTL, gcc >= 7" depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on BR2_TOOLCHAIN_HAS_ATOMIC + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_7