pmaports/temp/abuild/cargo-target.patch
Clayton Craft 2e9e6ddbf9
temp/abuild: upgrade to 3.15.0
APKBUILD was also rebased onto the latest version in aports

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6569
[ci:skip-build]: already built successfully in CI
2025-05-29 21:35:12 +02:00

13 lines
272 B
Diff

abuild CTARGET != cargo target == abuild CHOST
--- a/newapkbuild.in
+++ b/newapkbuild.in
@@ -32,7 +32,7 @@ is_github_url() {
prepare_rust() {
cat >>APKBUILD<<__EOF__
- cargo fetch --target="\$CTARGET" --locked
+ cargo fetch --target="\$CHOST" --locked
__EOF__
}