From d6e6298d70d05f55f44a69191dfd5e41eb7957b5 Mon Sep 17 00:00:00 2001 From: Ella-0 <23418164+Ella-0@users.noreply.github.com> Date: Fri, 21 May 2021 10:28:28 +0100 Subject: [PATCH] musl: add triples when building --- pkgs/musl/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/musl/build.sh b/pkgs/musl/build.sh index 232308e..95ca230 100644 --- a/pkgs/musl/build.sh +++ b/pkgs/musl/build.sh @@ -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 }