[MPlayer-dev-eng] [PATCH] cross-compile: add --enable-cross-compile

Diego Biurrun diego at biurrun.de
Thu Oct 13 19:02:43 CEST 2005


On Thu, Oct 13, 2005 at 12:13:04AM +0200, Aurelien Jacobs wrote:
> 
> --- ../main.test2/configure	2005-10-12 23:27:51.000000000 +0200
> +++ configure	2005-10-12 23:50:14.000000000 +0200
> @@ -54,6 +54,7 @@
>  }
>  
>  tmp_run() {
> +  test $_cross_compile = yes && return 0
>    "$TMPO" >> "$TMPLOG" 2>&1
>  }

This may slow things down, since that test is run many many times.  Why
not overload that function in the cross-compilation case?

Diego




More information about the MPlayer-dev-eng mailing list