From 4b8694e59de71e85f8eb4d500fbc611589d4e3e2 Mon Sep 17 00:00:00 2001 From: Hajime Tazaki Date: Mon, 13 May 2024 18:11:05 +0900 Subject: [PATCH] lkl: follow up fix after v6.6 merge (msys/mingw no modpost) TBA Fixes: ddb5cdbafaaa ("kbuild: generate KSYMTAB entries by modpost") Signed-off-by: Hajime Tazaki --- arch/lkl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/lkl/Makefile b/arch/lkl/Makefile index dc7091ad8676b6..1d6847cca0eaa9 100644 --- a/arch/lkl/Makefile +++ b/arch/lkl/Makefile @@ -14,7 +14,7 @@ endif # workaround for #include_next errors LINUXINCLUDE := -isystem arch/lkl/include/system $(LINUXINCLUDE) # workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991 -KBUILD_CFLAGS += -mno-ms-bitfields +KBUILD_CFLAGS += -mno-ms-bitfields -D__DISABLE_EXPORTS else ifneq (,$(CONFIG_OUTPUT_FORMAT)) $(error Unrecognized platform: $(CONFIG_OUTPUT_FORMAT)) endif