debian/rules: Add --host to tools configure target
authorElliott Mitchell <ehem+debian@m5p.com>
Thu, 16 Jul 2020 23:25:13 +0000 (16:25 -0700)
committerHans van Kranenburg <hans@knorrie.org>
Fri, 18 Sep 2020 16:29:59 +0000 (18:29 +0200)
Without this, we'll be building tools for the build machine, not the host
machine.

Signed-off-by: Elliott Mitchell <ehem+debian@m5p.com>
Reviewed-by: Ian Jackson <iwj@xenproject.org>
debian/rules

index 4cac51d0b09bcd44174b1755f6ee4dd2ad65c40f..81a0896a76a866459f28a13071d2c326d560f8ed 100755 (executable)
@@ -182,6 +182,7 @@ override_dh_auto_configure:
                --includedir=/usr/include \
                --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
                --with-libexec-libdir-suffix=/$(DEB_HOST_MULTIARCH) \
+               --host=$(DEB_HOST_MULTIARCH) \
                --mandir=/usr/share/man \
                --infodir=/usr/share/info \
                --sysconfdir=/etc \