Mercurial > vanilla
diff lib/compiler-rt/compiler-rt.sh @ 606:25cecc6dca48
vanilla: use POSIX shell and busybox tar
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 18 Jul 2019 07:26:43 +0200 |
parents | eec0faf3636c |
children | c4039d2948b6 |
line wrap: on
line diff
--- a/lib/compiler-rt/compiler-rt.sh Mon Jul 15 20:10:00 2019 +0200 +++ b/lib/compiler-rt/compiler-rt.sh Thu Jul 18 07:26:43 2019 +0200 @@ -30,12 +30,12 @@ build() { rm -rf $PKGNAME-$PKGVERSION.src - tar xvaf $PKGNAME-$PKGVERSION.src.tar.xz - pushd $PKGNAME-$PKGVERSION.src + tar xvf $PKGNAME-$PKGVERSION.src.tar.xz + cd $PKGNAME-$PKGVERSION.src # LLVM 9.0.0: remove this patch and the links created below. patch -p1 < ../D28791.diff - mkdir build && pushd build + mkdir build && cd build cmake .. \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_CXX_COMPILER="$CXX" \ @@ -58,8 +58,8 @@ $DESTDIR/lib/clang/$PKGVERSION/lib/linux/crtbeginT.o ln -sf clang_rt.crtend-$(uname -m).o \ $DESTDIR/lib/clang/$PKGVERSION/lib/linux/crtend.o - popd + cd .. - popd + cd .. rm -rf $PKGNAME-$PKGVERSION.src }