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() {
|
fetch() {
|
||||||
curl "https://musl.libc.org/releases/$pkgname-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.gz
|
curl "https://musl.libc.org/releases/$pkgname-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.gz
|
||||||
tar -xf $pkgname-$pkgver.tar.gz
|
tar -xf $pkgname-$pkgver.tar.gz
|
||||||
cd $pkgname-$pkgver
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname-$pkgver
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--build=x86_64-unknown-linux-musl \
|
||||||
|
--host=x86_64-unknown-linux-musl \
|
||||||
--enable-wrapper=no
|
--enable-wrapper=no
|
||||||
gmake
|
gmake
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue