Skip to content

Commit

Permalink
Toolchain: Update mold to 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
timschumi authored and linusg committed Jul 16, 2022
1 parent 864c7fb commit 0abc211
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Toolchain/BuildMold.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,15 @@ if [ "$1" = "--git" ]; then

git pull
else
VERSION=1.0.3
VERSION=1.3.1
[ ! -e mold-$VERSION.tar.gz ] && curl -L "https://github.com/rui314/mold/archive/refs/tags/v$VERSION.tar.gz" -o mold-$VERSION.tar.gz
[ ! -e mold-$VERSION ] && tar -xzf mold-$VERSION.tar.gz
cd mold-$VERSION
fi

make clean
export DESTDIR="$DIR"/Local/mold
export PREFIX=
make -j "$MAKEJOBS"
make install
make install PREFIX=

popd

0 comments on commit 0abc211

Please sign in to comment.