aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/kernel.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index 97d23661c9..73645330fe 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -129,7 +129,8 @@ ifdef CONFIG_USE_SPARSE
KERNEL_MAKEOPTS += C=1 CHECK=$(STAGING_DIR_HOST)/bin/sparse
endif
-ifeq ($(HOST_OS),Darwin)
+ifneq ($(HOST_OS),Linux)
+ KERNEL_MAKEOPTS += CONFIG_STACK_VALIDATION=
export SKIP_STACK_VALIDATION:=1
endif