From 5692e22beeb7119d68055d6450b924972b5f20d0 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Wed, 7 Nov 2012 15:13:21 -0500 Subject: [PATCH] Fix cross-compile configure.ac should use --target, not --host to get the target info we want to compile for. --host is for the host that does the build. Signed-off-by: Mathieu Desnoyers Signed-off-by: David Goulet --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index a3120fc04..49d324ecd 100644 --- a/configure.ac +++ b/configure.ac @@ -313,7 +313,7 @@ AS_ECHO("$version_description") AS_ECHO() # Target architecture we're building for -target_arch=$host_cpu +target_arch=$target_cpu [ for f in $CFLAGS; do if test $f = "-m32"; then -- 2.34.1