Quieter archive (broke few commits ago)
This commit is contained in:
parent
29505ef013
commit
82710a55a4
|
|
@ -210,7 +210,7 @@ endif
|
||||||
$(info Archive $(AR) -rcs $@ $^)
|
$(info Archive $(AR) -rcs $@ $^)
|
||||||
$(file >$@.tmp)
|
$(file >$@.tmp)
|
||||||
$(foreach L, $(filter-out %.a,$^), $(file >>$@.tmp, $L))
|
$(foreach L, $(filter-out %.a,$^), $(file >>$@.tmp, $L))
|
||||||
if test $(words $(filter %.a,$^)) -eq 0; then \
|
@if test $(words $(filter %.a,$^)) -eq 0; then \
|
||||||
$(AR) -rcs $@ @$@.tmp; \
|
$(AR) -rcs $@ @$@.tmp; \
|
||||||
else \
|
else \
|
||||||
$(RM) -rf $@.tmpdir; \
|
$(RM) -rf $@.tmpdir; \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue