commit ad8eeb74cb76ffd7e47f86917ba8540536777208 parent bffd68192a4d2d0f097920acc0e3f448e3fb7f65 Author: sin <sin@2f30.org> Date: Thu, 26 Sep 2013 17:35:52 +0100 Fix C++ for the morpheus toolchain Diffstat:
M | pkgs/crossmusl | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/pkgs/crossmusl b/pkgs/crossmusl @@ -6,6 +6,11 @@ fetch() { install() { tar xJf src/crossx86-x86_64-linux-musl-0.9.11.tar.xz -C $root/devel + mv $root/devel/x86_64-linux-musl/x86_64-linux-musl/lib64/* $root/devel/x86_64-linux-musl/x86_64-linux-musl/lib + sed -i 's/libdir=.*//g' $root/devel/x86_64-linux-musl/x86_64-linux-musl/lib/libstdc++.la + sed -i 's/libdir=.*//g' $root/devel/x86_64-linux-musl/x86_64-linux-musl/lib/libsupc++.la + echo "libdir='/devel/x86_64-linux-musl/x86_64-linux-musl/lib'" >> $root/devel/x86_64-linux-musl/x86_64-linux-musl/lib/libstdc++.la + echo "libdir='/devel/x86_64-linux-musl/x86_64-linux-musl/lib'" >> $root/devel/x86_64-linux-musl/x86_64-linux-musl/lib/libsupc++.la pushd $root/bin targets="ar as c++ g++ gcc ld ld.bfd nm objcopy objdump ranlib strip" for t in $targets; do