morpheus

suckless linux distro
git clone git://git.2f30.org/morpheus
Log | Files | Refs | Submodules | README | LICENSE

commit dd9799802f1a047e8b9eff019d48e09176a60120
parent 8b2768539e91f470a315b35ebb7a6a3be3214499
Author: sin <sin@2f30.org>
Date:   Thu, 19 Sep 2013 17:21:48 +0100

Create links for the toolchain

Diffstat:
Mpkgs/crossmusl | 15+++++++++++++++
1 file changed, 15 insertions(+), 0 deletions(-)

diff --git a/pkgs/crossmusl b/pkgs/crossmusl @@ -6,4 +6,19 @@ fetch() { install() { tar xJf src/crossx86-x86_64-linux-musl-0.9.11.tar.xz -C $root/devel + pushd $root/devel/x86_64-linux-musl/bin + for i in *; do + if [ -L $i ]; then + continue + fi + link=$(echo $i | sed 's/x86_64-linux-musl-//g') + pushd $root/bin + unlink $link &>/dev/null + ln -s /devel/x86_64-linux-musl/bin/$i $link + popd + done + popd + pushd $root/bin + ln -s gcc cc + popd }