>From 86536cfcd776b5d9e238a4690756028799122a86 Mon Sep 17 00:00:00 2001 From: Michal Marek Date: Tue, 7 Jun 2016 11:57:02 +0200 Subject: [PATCH] kbuild: Initialize NOSTDINC_CFLAGS The variable is exported, so it needs to be cleared to avoid duplicating its content when running make from within make (e.g. in the packaging targets). Signed-off-by: Michal Marek --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 0f9cb36d45c2..1a85efa216ac 100644 --- a/Makefile +++ b/Makefile @@ -359,6 +359,7 @@ CHECK = sparse CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \ -Wbitwise -Wno-return-void $(CF) +NOSTDINC_FLAGS = CFLAGS_MODULE = AFLAGS_MODULE = LDFLAGS_MODULE = -- 2.6.2