Config.mk: Provide the default MODULECC/MODULELD

In some cases, a separate toolchain is necessary to
build modules.
E.g. the sim on macOS, where the native format is Mach-O.

By default, just use CC/LD, which is appropriate for
the most of platforms.
This commit is contained in:
YAMAMOTO Takashi 2020-03-26 11:24:03 +09:00 committed by Xiang Xiao
parent c62f806581
commit 18c574d66a
1 changed files with 6 additions and 0 deletions

View File

@ -363,3 +363,9 @@ define TESTANDREPLACEFILE
fi
endef
endif
# Some defaults.
# $(TOPDIR)/Make.defs can override these appropriately.
MODULECC = $(CC)
MODULELD = $(LD)