From 8e6081abe03d0497bc432d836fc1a0bbcf1968ac Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Wed, 6 Apr 2022 14:02:33 +0900 Subject: [PATCH] examples/module: -fno-builtin for a file generated by mksymtab.sh --- examples/module/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/module/Makefile b/examples/module/Makefile index 3b6c8a9f8..1a3c51356 100644 --- a/examples/module/Makefile +++ b/examples/module/Makefile @@ -36,6 +36,8 @@ ifeq ($(CONFIG_EXAMPLES_MODULE_CROMFS),y) CSRCS = cromfs.c endif CSRCS += mod_symtab.c +drivers$(DELIM)mod_symtab.c_CFLAGS = -fno-builtin +drivers$(DELIM)mod_symtab.c_CELFFLAGS = -fno-builtin MAINSRC = module_main.c VPATH += drivers