diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2018-07-26 11:20:45 +0100 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-07-28 10:53:44 +0900 |
commit | 091d30aefc8a4d76ffa139a6e51dc237ea1cd599 (patch) | |
tree | 3c1f310fb72ec2ece85485c080311caa5f0ed9bd /samples/vfio-mdev | |
parent | f2abcc13e4a1b3139f1e3a0ca71bf4db8b7dfe72 (diff) | |
download | linux-091d30aefc8a4d76ffa139a6e51dc237ea1cd599.tar.gz linux-091d30aefc8a4d76ffa139a6e51dc237ea1cd599.tar.bz2 linux-091d30aefc8a4d76ffa139a6e51dc237ea1cd599.zip |
builddeb: Change architecture detection fallback to use dpkg-architecture
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 <ben@decadent.org.uk>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'samples/vfio-mdev')
0 files changed, 0 insertions, 0 deletions