From 9ac47ee46918c45b91f4e4d1fa76b1e26b9d57fe Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 18 Mar 2021 07:22:11 +0100 Subject: build: use -nostdinc and -isystem in NOSTDINC_FLAGS for out-of-tree kernel modules This resolves issues uncovered by musl updates Signed-off-by: Felix Fietkau --- package/kernel/mwlwifi/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package/kernel/mwlwifi/Makefile') diff --git a/package/kernel/mwlwifi/Makefile b/package/kernel/mwlwifi/Makefile index ebd88bb352..648c826ccb 100644 --- a/package/kernel/mwlwifi/Makefile +++ b/package/kernel/mwlwifi/Makefile @@ -33,7 +33,8 @@ define KernelPackage/mwlwifi AUTOLOAD:=$(call AutoLoad,50,mwlwifi) endef -NOSTDINC_FLAGS = \ +NOSTDINC_FLAGS := \ + $(KERNEL_NOSTDINC_FLAGS) \ -I$(PKG_BUILD_DIR) \ -I$(STAGING_DIR)/usr/include/mac80211-backport/uapi \ -I$(STAGING_DIR)/usr/include/mac80211-backport \ -- cgit v1.2.3