From d3911aa3181b0081f4af7641a865fd7ee1cbd189 Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Wed, 20 Nov 2013 12:24:47 -0700 Subject: use uname -m instead of uname -p, as the chroots return unknown otherwise --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 3b519a63..d4600182 100644 --- a/configure.ac +++ b/configure.ac @@ -247,7 +247,7 @@ AC_SUBST(LIBC) KERNEL="`uname -r`" AC_SUBST(KERNEL) BUILDHOST="`${srcdir}/config.guess`" -BUILD_ARCH="`uname -p`" +BUILD_ARCH="`uname -m`" if test x"${BUILD_ARCH}" = x"x86_64" -a -f /etc/debian_chroot; then BUILD_ARCH=i486 BUILDHOST="`echo ${BUILDHOST} | sed -e 's:x86_64:i486:'`" -- cgit v1.2.3