musl: add triples when building
This commit is contained in:
parent
e1d9f7cae4
commit
d6e6298d70
1 changed files with 2 additions and 1 deletions
|
@ -7,13 +7,14 @@ ext="dev"
|
|||
fetch() {
|
||||
curl "https://musl.libc.org/releases/$pkgname-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.gz
|
||||
tar -xf $pkgname-$pkgver.tar.gz
|
||||
cd $pkgname-$pkgver
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--build=x86_64-unknown-linux-musl \
|
||||
--host=x86_64-unknown-linux-musl \
|
||||
--enable-wrapper=no
|
||||
gmake
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue