bambino-200e: Add EXTRA_LIBS and EXTRA_LIBPATHS to nsh/Make.defs
This commit is contained in:
parent
ea9ac44171
commit
96aba62fda
@ -117,6 +117,12 @@ OBJEXT = .o
|
||||
LIBEXT = .a
|
||||
EXEEXT =
|
||||
|
||||
ifeq ($(CONFIG_CXX_LINK_GNUTOOL_LIB),y)
|
||||
EXTRA_LIBS = "${shell "$(CXX)" $(ARCHCPUFLAGS) -print-file-name=$(LIBSTDCXX)}"
|
||||
GXX_LIBDIR := ${shell dirname $(LIBGXX)}
|
||||
EXTRA_LIBPATHS = -L"$(GXX_LIBDIR)"
|
||||
endif
|
||||
|
||||
ifneq ($(CROSSDEV),arm-nuttx-elf-)
|
||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user