You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/04/29 09:09:19 UTC
[incubator-nuttx-apps] branch master updated: import/Make.defs: Fix C++ library linkage with CONFIG_BUILD_KERNEL
This is an automated email from the ASF dual-hosted git repository.
pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new e2f0ae381 import/Make.defs: Fix C++ library linkage with CONFIG_BUILD_KERNEL
e2f0ae381 is described below
commit e2f0ae381639b6fb921b45aa00939a8e2d20a80b
Author: Ville Juven <vi...@unikie.com>
AuthorDate: Thu Apr 28 12:19:58 2022 +0300
import/Make.defs: Fix C++ library linkage with CONFIG_BUILD_KERNEL
Encapsulate link libraries with start/end group
---
Application.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Application.mk b/Application.mk
index 51ce6eff2..57b7eedc4 100644
--- a/Application.mk
+++ b/Application.mk
@@ -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