allow using older tar without J flag
This commit is contained in:
parent
c5e2d753f1
commit
cbfb543c56
2
Makefile
2
Makefile
|
@ -120,7 +120,7 @@ musl-git-%:
|
|||
%: $(SOURCES)/%.tar.xz | $(SOURCES)/config.sub
|
||||
rm -rf $@.tmp
|
||||
mkdir $@.tmp
|
||||
( cd $@.tmp && tar Jxvf - ) < $<
|
||||
( cd $@.tmp && xz -d | tar xvf - ) < $<
|
||||
test ! -d patches/$@ || cat patches/$@/* | ( cd $@.tmp/$@ && patch -p1 )
|
||||
test ! -f $@.tmp/$@/config.sub || cp -f $(SOURCES)/config.sub $@.tmp/$@
|
||||
rm -rf $@
|
||||
|
|
Loading…
Reference in New Issue