summaryrefslogtreecommitdiff
path: root/repo/system
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system')
-rw-r--r--repo/system/libcxx/toolchain-libcxx.xibuild0
-rw-r--r--repo/system/musl/toolchain-musl.xibuild15
2 files changed, 15 insertions, 0 deletions
diff --git a/repo/system/libcxx/toolchain-libcxx.xibuild b/repo/system/libcxx/toolchain-libcxx.xibuild
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/repo/system/libcxx/toolchain-libcxx.xibuild
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
+}