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.xibuild15
1 files changed, 15 insertions, 0 deletions
diff --git a/repo/system/musl/toolchain-musl.xibuild b/repo/system/musl/toolchain-musl.xibuild
new file mode 100644
index 0000000..ed46c6e
--- /dev/null
+++ b/repo/system/musl/toolchain-musl.xibuild
@@ -0,0 +1,15 @@
+#!/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
+}