xref: /OK3568_Linux_fs/buildroot/package/start-stop-daemon/0002-just-warn-on-missing-arch.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From 7b20d3f012013edd4e3bb48541bd2bda10dac186 Mon Sep 17 00:00:00 2001
2From: Baruch Siach <baruch@tkos.co.il>
3Date: Sun, 21 Mar 2021 18:03:28 +0100
4Subject: [PATCH] just warn on missing arch
5
6Just warn on missing arch
7
8Some architectures are not listed in dpkg list (e.g. mips64el, xtensa, sh4a).
9Don't break the build for that.
10
11Signed-off-by: Baruch Siach <baruch@tkos.co.il>
12[Rebased on 1.20.7.1]
13Signed-off-by: Peter Seiderer <ps.report@gmx.net>
14---
15 m4/dpkg-arch.m4 | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/m4/dpkg-arch.m4 b/m4/dpkg-arch.m4
19index 71044c9..1394531 100644
20--- a/m4/dpkg-arch.m4
21+++ b/m4/dpkg-arch.m4
22@@ -58,7 +58,7 @@ AC_DEFUN([DPKG_ARCHITECTURE], [
23   AC_MSG_CHECKING([dpkg architecture name])
24   _DPKG_ARCHITECTURE([DEB_HOST_ARCH], [dpkg_arch])
25   AS_IF([test "x$dpkg_arch" = "x"], [
26-    AC_MSG_ERROR([cannot determine host dpkg architecture])
27+    AC_MSG_WARN([cannot determine host dpkg architecture])
28   ], [
29     AC_MSG_RESULT([$dpkg_arch])
30   ])
31--
322.30.2
33
34