summaryrefslogtreecommitdiff
path: root/repo/system/musl/toolchain-musl.xibuild
blob: ed46c6e18b7777bdd9c4c908769f90844f9d44fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
}