apps/examples/sotest and modules: With recent changes, LDLIBS is initialized to bad value, at least in certain contexts.

This commit is contained in:
Gregory Nutt 2018-08-24 16:24:58 -06:00
parent 5304ec5eec
commit 2ef04ff0a8
3 changed files with 9 additions and 0 deletions

View File

@ -48,6 +48,9 @@ endif
KDEFINE = ${shell $(TOPDIR)/tools/define.sh "$(CC)" __KERNEL__}
CMODULEFLAGS += $(KDEFINE)
LDLIBPATH =
LDLIBS =
ifeq ($(CONFIG_EXAMPLES_MODULE_LIBGCC),y)
LIBGCC = "${shell $(CC) $(ARCHCPUFLAGS) -print-libgcc-file-name 2>/dev/null}"
ifneq ($(LIBGCC),)

View File

@ -48,6 +48,9 @@ endif
KDEFINE = ${shell $(TOPDIR)/tools/define.sh "$(CC)" __KERNEL__}
CMODULEFLAGS += $(KDEFINE)
LDLIBPATH =
LDLIBS =
ifeq ($(CONFIG_EXAMPLES_SOTEST_LIBGCC),y)
LIBGCC = "${shell $(CC) $(ARCHCPUFLAGS) -print-libgcc-file-name 2>/dev/null}"
ifneq ($(LIBGCC),)

View File

@ -48,6 +48,9 @@ endif
KDEFINE = ${shell $(TOPDIR)/tools/define.sh "$(CC)" __KERNEL__}
CMODULEFLAGS += $(KDEFINE)
LDLIBPATH =
LDLIBS =
ifeq ($(CONFIG_EXAMPLES_SOTEST_LIBGCC),y)
LIBGCC = "${shell $(CC) $(ARCHCPUFLAGS) -print-libgcc-file-name 2>/dev/null}"
ifneq ($(LIBGCC),)