diff --git a/system/Config.in b/system/Config.in index 89578c5828..e8f1ed6a2d 100644 --- a/system/Config.in +++ b/system/Config.in @@ -96,10 +96,12 @@ config BR2_INIT_SYSTEMD depends on BR2_TOOLCHAIN_HAS_SSP depends on BR2_USE_MMU depends on !BR2_PREFER_STATIC_LIB + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 select BR2_PACKAGE_SYSTEMD -comment 'systemd needs an (e)glibc toolchain' - depends on !BR2_TOOLCHAIN_USES_GLIBC +comment 'systemd needs an (e)glibc toolchain, headers >= 3.0' + depends on !(BR2_TOOLCHAIN_USES_GLIBC \ + && BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0) config BR2_INIT_NONE bool "None"