aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/kernel.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index 8dfe903bcc..975cf455c4 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -129,6 +129,10 @@ ifdef CONFIG_USE_SPARSE
KERNEL_MAKEOPTS += C=1 CHECK=$(STAGING_DIR_HOST)/bin/sparse
endif
+ifeq ($(HOST_OS),Darwin)
+ export SKIP_STACK_VALIDATION:=1
+endif
+
PKG_EXTMOD_SUBDIRS ?= .
define populate_module_symvers