Use --arch=i686 when building ffmpeg for windows
authorRafaël Carré <funman@videolan.org>
Tue, 4 Mar 2008 15:13:16 +0000 (16:13 +0100)
committerRafaël Carré <funman@videolan.org>
Tue, 4 Mar 2008 15:13:16 +0000 (16:13 +0100)
Fix cross compilation from 64bits host

extras/contrib/src/Makefile

index 49d7301..248f932 100644 (file)
@@ -115,7 +115,7 @@ endif
 #
 ifdef HAVE_WIN32
 HOSTCONF+= --without-pic --disable-shared --enable-msw --with-included-opencdk --with-included-libtasn1 --disable-dependency-tracking
 #
 ifdef HAVE_WIN32
 HOSTCONF+= --without-pic --disable-shared --enable-msw --with-included-opencdk --with-included-libtasn1 --disable-dependency-tracking
-FFMPEGCONF+= --target-os=mingw32 --enable-memalign-hack --cpu=i686 --disable-debug
+FFMPEGCONF+= --target-os=mingw32 --enable-memalign-hack --cpu=i686 --arch=i686 --disable-debug
 endif
 
 ifdef HAVE_WINCE
 endif
 
 ifdef HAVE_WINCE