make/import: override the ld group if undeclared
Change-Id: I8f2fde21dcaac7c9a88915d585fda0ab30ce1d56 Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
c81a1f9711
commit
7650a3c71c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user