diff --git a/init/Kconfig b/init/Kconfig index f1c608cbe8ef..98c9dae17fa7 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -153,7 +153,7 @@ config WERROR config UAPI_HEADER_TEST bool "Compile test UAPI headers" - depends on HEADERS_INSTALL + depends on HEADERS_INSTALL && CC_CAN_LINK help Compile test headers exported to user-space to ensure they are self-contained, i.e. compilable as standalone units.