Quieter archive (broke few commits ago)

This commit is contained in:
Wilson Snyder 2021-03-19 20:58:42 -04:00
parent 29505ef013
commit 82710a55a4

View File

@ -210,7 +210,7 @@ endif
$(info Archive $(AR) -rcs $@ $^)
$(file >$@.tmp)
$(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; \
else \
$(RM) -rf $@.tmpdir; \