make/import: remove LDLIBS declare
which already exported in scripts/Make.defs Change-Id: I74858632f779fc2a409c9f4afb114db14003686d Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
13df7aca41
commit
10d596cb8e
@ -80,12 +80,10 @@ else
|
||||
LDLIBPATH = -L $(APPDIR) -L $(TOPDIR)$(DELIM)libs
|
||||
endif
|
||||
|
||||
LDLIBS = -lapps -lnuttx
|
||||
|
||||
# Try to get the path to libgcc.a. Of course, this only works for GCC
|
||||
# toolchains.
|
||||
|
||||
LIBGCC = "${shell "$(CC)" $(ARCHCPUFLAGS) -print-libgcc-file-name 2>/dev/null}"
|
||||
LIBGCC = ${shell "$(CC)" $(ARCHCPUFLAGS) -print-file-name=libgcc.a}
|
||||
ifneq ($(LIBGCC),)
|
||||
LDLIBPATH += -L "${shell dirname $(LIBGCC)}"
|
||||
LDLIBS += -lgcc
|
||||
|
Loading…
Reference in New Issue
Block a user