Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
builddeb: Change architecture detection fallback to use dpkg-architec…
…ture We currently use dpkg --print-architecture, which reports the architecture of the build machine. We can make a better guess than this by asking dpkg-architecture what the host architecture, i.e. the default architecture for building packages, is. This is sensitive to environment variables such as CC and DEB_HOST_ARCH, which should already be set in a cross-build environment. Signed-off-by: Ben Hutchings <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
- Loading branch information