Commit db4901e9 authored by Jean-Paul Saman's avatar Jean-Paul Saman

(contrib) Do not use --std=c99 for ffmpeg on contrib when crosscompiling to win32.

parent 76aeb5e7
...@@ -1083,6 +1083,9 @@ ifdef HAVE_UCLIBC ...@@ -1083,6 +1083,9 @@ ifdef HAVE_UCLIBC
patch -p0 < Patches/ffmpeg-svn-internal-define.patch patch -p0 < Patches/ffmpeg-svn-internal-define.patch
patch -p0 < Patches/ffmpeg-svn-libavformat.patch patch -p0 < Patches/ffmpeg-svn-libavformat.patch
endif endif
ifdef HAVE_WIN32
(cd $@; patch -p0 < ../Patches/ffmpeg-svn-win32.patch)
endif
ifdef NO_TEXT_RELOCATION ifdef NO_TEXT_RELOCATION
echo "Broken LD. Fix your tools." echo "Broken LD. Fix your tools."
exit -1 exit -1
......
Index: configure
===================================================================
--- configure (revision 15611)
+++ configure (working copy)
@@ -1149,7 +1149,7 @@
TMPSH="${TMPDIR1}/ffmpeg-conf-${RANDOM}-$$-${RANDOM}.sh"
check_cflags -fasm
-check_cflags -std=c99
+# check_cflags -std=c99
case "$arch" in
i386|i486|i586|i686|i86pc|BePC)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment