summaryrefslogtreecommitdiff
path: root/repo/system/musl/toolchain-musl.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/musl/toolchain-musl.xibuild')
-rw-r--r--repo/system/musl/toolchain-musl.xibuild27
1 files changed, 0 insertions, 27 deletions
diff --git a/repo/system/musl/toolchain-musl.xibuild b/repo/system/musl/toolchain-musl.xibuild
deleted file mode 100644
index 4f73171..0000000
--- a/repo/system/musl/toolchain-musl.xibuild
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-DESC="$DESC - for xibuild toolchain"
-
-build () {
- export CXX=clang++
- export CC=clang
-
- CC=$CC CXX=$CXX ./configure --prefix=/
- make
-}
-
-package () {
- make install DESTDIR=$PKG_DEST
-
- rm -v $PKG_DEST/lib/ld-musl-x86_64.so.1
- ln -sv libc.so $PKG_DEST/lib/ld-musl-x86_64.so.1
-
- mkdir $PKG_DEST/bin
- mkdir $PKG_DEST/etc
- ln -sv ../lib/libc.so $PKG_DEST/bin/ldd
-
- cat > $PKG_DEST/etc/ld-musl-x86_64.path << "EOF"
-$PKG_DEST/lib
-EOF
-
-}