diff options
Diffstat (limited to 'mk/target.mk')
-rw-r--r-- | mk/target.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/target.mk b/mk/target.mk index 620b51ae77..df76ae29d3 100644 --- a/mk/target.mk +++ b/mk/target.mk @@ -296,7 +296,7 @@ SRC_HC_OPTS += -split-objs ifeq "$(ArSupportsInput)" "" define BUILD_LIB $(RM) $@ $@.tmp -(echo $(STUBOBJS); $(FIND) $(patsubst %.$(way_)o,%_split,$(HS_OBJS)) -name '*.$(way_)o') | xargs ar q $@.tmp +(echo $(STUBOBJS) $(EXTRA_OBJS); $(FIND) $(patsubst %.$(way_)o,%_split,$(HS_OBJS)) -name '*.$(way_)o') | xargs ar q $@.tmp $(RANLIB) $@.tmp $(MV) $@.tmp $@ endef @@ -304,6 +304,7 @@ else define BUILD_LIB $(RM) $@ $@.tmp echo $(STUBOBJS) > $@.list +echo $(EXTRA_OBJS) > $@.list $(FIND) $(patsubst %.$(way_)o,%_split,$(HS_OBJS)) -name '*.$(way_)o' >> $@.list $(AR) $(AR_OPTS) $@.tmp $(ArSupportsInput) $@.list $(RM) $@.list |