mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-28 21:00:54 +00:00
apps/examples/sotest and modules: With recent changes, LDLIBS is initialized to bad value, at least in certain contexts.
This commit is contained in:
parent
5304ec5eec
commit
2ef04ff0a8
3 changed files with 9 additions and 0 deletions
|
|
@ -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),)
|
||||
|
|
|
|||
|
|
@ -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),)
|
||||
|
|
|
|||
|
|
@ -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),)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue