mirror of
git://git.2f30.org/morpheus.git
synced 2024-07-01 07:41:19 +00:00
17 lines
410 B
Plaintext
17 lines
410 B
Plaintext
url=$mirror/crossx86-x86_64-linux-musl-0.9.11.tar.xz
|
|
|
|
fetch() {
|
|
wget -c $url -O src/crossx86-x86_64-linux-musl-0.9.11.tar.xz
|
|
}
|
|
|
|
install() {
|
|
tar xJf src/crossx86-x86_64-linux-musl-0.9.11.tar.xz -C $root/devel
|
|
pushd $root/bin
|
|
targets="ar as c++ g++ gcc ld ld.bfd nm objcopy objdump ranlib strip"
|
|
for t in $targets; do
|
|
ln -s /devel/x86_64-linux-musl/x86_64-linux-musl/bin/$t $t
|
|
done
|
|
ln -s gcc cc
|
|
popd
|
|
}
|