mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-18 17:32:09 +08:00
import/Make.defs: Fix C++ library linkage with CONFIG_BUILD_KERNEL
Encapsulate link libraries with start/end group
This commit is contained in:

committed by
Petro Karashchenko

parent
a5a4c561fb
commit
e2f0ae3816
@@ -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
|
||||
|
Reference in New Issue
Block a user