Some contribs don't like gnu99 when building with a MinGW toolset.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5925
b64f7644-9d1e-0410-96f1-
a4d463321fa5
A52DEC.INSTALL.strip = liba52.a
A52DEC.CONFIGURE.bootstrap = rm -fr aclocal.m4 autom4te.cache; autoreconf -fiv;
+
+# this contrib will not build under MinGW with -std=gnu99
+ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system))
+ A52DEC.GCC.args.c_std =
+endif
$(eval $(call import.CONTRIB.defs,LIBICONV))
LIBICONV.FETCH.url = http://download.handbrake.fr/handbrake/contrib/libiconv-1.13.tar.bz2
+
+# this contrib will not build under MinGW with -std=gnu99
+ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system))
+ LIBICONV.GCC.args.c_std =
+endif
endif
MPEG2DEC.CONFIGURE.extra = --disable-sdl --without-x
+
+# this contrib will not build under MinGW with -std=gnu99
+ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system))
+ MPEG2DEC.GCC.args.c_std =
+endif