musl: add triples when building

This commit is contained in:
Ella-0 2021-05-21 10:28:28 +01:00
parent e1d9f7cae4
commit d6e6298d70

View file

@ -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
} }