diff options
-rw-r--r-- | contrib/a52dec/module.defs | 5 | ||||
-rw-r--r-- | contrib/libiconv/module.defs | 5 | ||||
-rw-r--r-- | contrib/mpeg2dec/module.defs | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/contrib/a52dec/module.defs b/contrib/a52dec/module.defs index 5f53fa0cf..b185f8a61 100644 --- a/contrib/a52dec/module.defs +++ b/contrib/a52dec/module.defs @@ -6,3 +6,8 @@ A52DEC.EXTRACT.tarbase = a52dec 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 diff --git a/contrib/libiconv/module.defs b/contrib/libiconv/module.defs index d1781cc60..391361f26 100644 --- a/contrib/libiconv/module.defs +++ b/contrib/libiconv/module.defs @@ -2,3 +2,8 @@ $(eval $(call import.MODULE.defs,LIBICONV,libiconv)) $(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 diff --git a/contrib/mpeg2dec/module.defs b/contrib/mpeg2dec/module.defs index 9a53134cb..5fcf8e184 100644 --- a/contrib/mpeg2dec/module.defs +++ b/contrib/mpeg2dec/module.defs @@ -10,3 +10,8 @@ ifeq (darwin,$(BUILD.system)) 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 |