[lttng-dev] [PATCH lttng-tools] Fix cross-compile
David Goulet
dgoulet at efficios.com
Wed Nov 7 15:17:29 EST 2012
Merged.
Thanks!
Mathieu Desnoyers:
> 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
>
>
More information about the lttng-dev
mailing list