[Buildroot] [PATCH 2/6] package/pseudo: enforce the host bitness

Yann E. MORIN yann.morin.1998 at free.fr
Mon Nov 7 21:23:36 UTC 2016

pseudo can detect the host bitness, but is not sure about it: it checks
what type of file /bin/sh is, using file(1).

However, in some conditions, /bin/sh can be of a different bitness than
the rest of the system (weird, but not impossible), which causes build

Just enforce the bitness, so that pseudo needs not (wrongly) guess it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Cc: Gaël PORTAY <gael.portay at savoirfairelinux.com>
Cc: Patrick Keroulas <patrick.keroulas at savoirfairelinux.com>
Cc: Erico Nunes <nunes.erico at gmail.com>
Cc: Julien BOIBESSOT <julien.boibessot at free.fr>
 package/pseudo/pseudo.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/pseudo/pseudo.mk b/package/pseudo/pseudo.mk
index 67538a6..3b0ba86 100644
--- a/package/pseudo/pseudo.mk
+++ b/package/pseudo/pseudo.mk
@@ -17,6 +17,7 @@ HOST_PSEUDO_DEPENDENCIES = host-attr host-sqlite
 # configure script is not generated by autoconf, so passing --libdir
 # is necessary, even if the infrastructure passes --prefix already.
+	--bits=$(HOSTARCH_BITS) \
 	--libdir=$(HOST_DIR)/usr/lib \

More information about the buildroot mailing list