[Ffmpeg-devel] [PATCH] configure and cross-compile
Christophe Mutricy
xtophe
Sun Jun 11 00:36:44 CEST 2006
Hello,
check_cc and check_ld in configure use ${cross_prefix}$cc but $cc has
already been defined as ${cross_prefix}$cc line 726.
So using $cc instead fix it.
--
Xtophe
-------------- next part --------------
Index: configure
===================================================================
--- configure (revision 5464)
+++ configure (working copy)
@@ -129,12 +129,12 @@
check_cc(){
cat >$TMPC
- ${cross_prefix}$cc $CFLAGS "$@" -c -o $TMPO $TMPC >/dev/null 2>&1
+ $cc $CFLAGS "$@" -c -o $TMPO $TMPC >/dev/null 2>&1
}
check_ld(){
cat >$TMPC
- ${cross_prefix}$cc $CFLAGS $LDFLAGS "$@" -o $TMPE $TMPC $extralibs >/dev/null 2>&1
+ $cc $CFLAGS $LDFLAGS "$@" -o $TMPE $TMPC $extralibs >/dev/null 2>&1
}
check_cflags(){
More information about the ffmpeg-devel
mailing list