diff --git a/kernel/Kconfig b/kernel/Kconfig index fcc67613234..16c4fb62cfd 100644 --- a/kernel/Kconfig +++ b/kernel/Kconfig @@ -620,6 +620,7 @@ menu "Security Options" config STACK_CANARIES bool "Compiler stack canaries" + depends on ENTROPY_GENERATOR || TEST_RANDOM_GENERATOR help This option enables compiler stack canaries.