[lttng-dev] [PATCH lttng-tools] Fix cross-compile
Mathieu Desnoyers
mathieu.desnoyers at efficios.com
Wed Nov 7 15:13:21 EST 2012
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 <mathieu.desnoyers at efficios.com>
---
diff --git a/configure.ac b/configure.ac
index a3120fc..49d324e 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
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
More information about the lttng-dev
mailing list