pmb.build.backend.run_abuild: remove cross default

This function doesn't handle the case of being called without a value
set for cross (it does not autodetect it) and callers don't expect that.
So unset the default value.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2568
This commit is contained in:
Oliver Smith 2025-03-14 18:35:11 +01:00
parent b2eb812254
commit 0625ece550
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 2 additions and 2 deletions

View file

@ -190,9 +190,9 @@ def run_abuild(
pkgver: str,
channel: str,
arch: Arch,
cross: CrossCompileType,
strict: bool = False,
force: bool = False,
cross: CrossCompileType = None,
hostchroot: Chroot = Chroot.native(),
src: str | None = None,
bootstrap_stage: int = BootstrapStage.NONE,