mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
import/Make.defs: Fix C++ library linkage with CONFIG_BUILD_KERNEL
Encapsulate link libraries with start/end group
This commit is contained in:
parent
a5a4c561fb
commit
e2f0ae3816
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ endef
|
|||
|
||||
define ELFLD
|
||||
@echo "LD: $2"
|
||||
$(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) $(ARCHCRT0OBJ) $1 $(LDLIBS) -o $2
|
||||
$(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) $(ARCHCRT0OBJ) $1 $(LDSTARTGROUP) $(LDLIBS) $(LDENDGROUP) -o $2
|
||||
endef
|
||||
|
||||
$(RAOBJS): %.s$(SUFFIX)$(OBJEXT): %.s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue