]> git.sesse.net Git - vlc/blob - extras/contrib/src/Patches/ffmpeg-svn-cross.patch
* Patch ffmpeg configure to not use twice the cross prefix.
[vlc] / extras / contrib / src / Patches / ffmpeg-svn-cross.patch
1 Index: ffmpeg/configure
2 ===================================================================
3 --- ffmpeg/configure    (revision 5464)
4 +++ ffmpeg/configure    (working copy)
5 @@ -129,12 +129,12 @@
6  
7  check_cc(){
8      cat >$TMPC
9 -    ${cross_prefix}$cc $CFLAGS "$@" -c -o $TMPO $TMPC >/dev/null 2>&1
10 +    $cc $CFLAGS "$@" -c -o $TMPO $TMPC >/dev/null 2>&1
11  }
12  
13  check_ld(){
14      cat >$TMPC
15 -    ${cross_prefix}$cc $CFLAGS $LDFLAGS "$@" -o $TMPE $TMPC $extralibs >/dev/null 2>&1
16 +    $cc $CFLAGS $LDFLAGS "$@" -o $TMPE $TMPC $extralibs >/dev/null 2>&1
17  }
18  
19  check_cflags(){