Commit 814cffc6 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 ddedad81
......@@ -1074,6 +1074,9 @@ ifdef HAVE_UCLIBC
patch -p0 < Patches/ffmpeg-svn-internal-define.patch
patch -p0 < Patches/ffmpeg-svn-libavformat.patch
endif
ifdef HAVE_WIN32
(cd $@; patch -p0 < ../Patches/ffmpeg-svn-win32.patch)
endif
ifdef NO_TEXT_RELOCATION
echo "Broken LD. Fix your tools."
exit -1
......
Index: configure
===================================================================
--- configure (revision 15594)
+++ configure (working copy)
@@ -1132,7 +1132,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