1 Just warn on missing arch
3 Some architectures are not listed in dpkg list (e.g. mips64el, xtensa, sh4a).
4 Don't break the build for that.
6 Signed-off-by: Baruch Siach <baruch@tkos.co.il>
8 diff -Nuar dpkg-1.16.15-orig/m4/dpkg-arch.m4 dpkg-1.16.15/m4/dpkg-arch.m4
9 --- dpkg-1.16.15-orig/m4/dpkg-arch.m4 2014-05-30 02:47:25.000000000 +0300
10 +++ dpkg-1.16.15/m4/dpkg-arch.m4 2015-01-16 06:55:19.701596362 +0200
12 AC_MSG_CHECKING([dpkg architecture name])
13 _DPKG_ARCHITECTURE([DEB_HOST_ARCH], [dpkg_arch])
14 if test "x$dpkg_arch" = "x"; then
15 - AC_MSG_ERROR([cannot determine host dpkg architecture])
16 + AC_MSG_WARN([cannot determine host dpkg architecture])
18 AC_MSG_RESULT([$dpkg_arch])