make/import: override the ld group if undeclared

Change-Id: I8f2fde21dcaac7c9a88915d585fda0ab30ce1d56
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an 2020-06-24 20:53:39 +08:00 committed by Abdelatif Guettouche
parent c81a1f9711
commit 7650a3c71c

View File

@ -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)