]> git.sesse.net Git - vlc/commitdiff
Contrib: fix FFmpeg for Win64 compilation
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 2 Sep 2009 15:32:43 +0000 (17:32 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 2 Sep 2009 20:25:17 +0000 (22:25 +0200)
extras/contrib/src/Makefile

index a827ce81a635cb3c840e711bdd887e422b4d65ce..18f5506293be12eace0db11d87ec27cc6b86032a 100644 (file)
@@ -59,7 +59,6 @@ endif
 
 ifneq ($(CC),)
 HOSTCC+= CC="$(CC)"
-FFMPEGCONF += --cc=$(CC)
 endif
 ifneq ($(CXX),)
 HOSTCC+= CXX="$(CXX)"
@@ -117,9 +116,11 @@ endif
 ifdef HAVE_WIN32
 HOSTCONF+= --without-pic --disable-shared --enable-msw --disable-dependency-tracking
 FFMPEGCONF+= --target-os=mingw32 --enable-memalign-hack --cpu=i686 --arch=i686
-endif
 ifdef HAVE_WIN64
-FFMPEGCONF+= --cpu=x86_64
+FFMPEGCONF+= --cpu=i686 --arch=x86_64
+else
+FFMPEGCONF+= --cpu=i686 --arch=x86_32
+endif
 endif
 
 ifdef HAVE_WINCE