Hi,

On Thu, Feb 12, 2026 at 10:24:26AM +0100, Vladimír Čunát wrote:
> I'm not knowledgeable about cross-builds on Debian, but in our CI this patch
> would break normal builds on older distros (Debian 11, Ubuntu 22.04).
> 
> https://gitlab.nic.cz/knot/knot-resolver/-/jobs/1660369

Thanks for looking into it. Could you try replacing the :native 
annotation with :any? I remember that older tooling does not understand 
:native even though it expresses what we want more to the point. Both 
should work for cross compilation today.

Other than that, cross building should be fairly easiy. For instance if 
you normally use sbuild, you may add --host-arch=... and then you cross 
build. For pbuilder it is --host=... and no extra setup is required for 
either.

Helmut

Reply via email to