This is an automated email from the ASF dual-hosted git repository. aguettouche pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit 7650a3c71cb7f0f9dfc9ad2a0e5ea06aaed7c551 Author: chao.an <anc...@xiaomi.com> AuthorDate: Wed Jun 24 20:53:39 2020 +0800 make/import: override the ld group if undeclared Change-Id: I8f2fde21dcaac7c9a88915d585fda0ab30ce1d56 Signed-off-by: chao.an <anc...@xiaomi.com> --- import/Make.defs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/import/Make.defs b/import/Make.defs index 41833fa..5c2c132 100644 --- a/import/Make.defs +++ b/import/Make.defs @@ -60,6 +60,14 @@ CPICFLAGS = $(ARCHPICFLAGS) $(CFLAGS) CXXFLAGS = $(ARCHCXXFLAGS) $(ARCHWARNINGSXX) $(ARCHOPTIMIZATION) $(ARCHXXINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES) CXXPICFLAGS = $(ARCHPICFLAGS) $(CXXFLAGS) +ifeq ($(LDSTARTGROUP),) +LDSTARTGROUP = --start-group +endif + +ifeq ($(LDENDGROUP),) +LDENDGROUP = --end-group +endif + # ELF module definitions CELFFLAGS = $(CFLAGS)