diff options
author | Rodeo <[email protected]> | 2013-12-10 22:19:44 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-12-10 22:19:44 +0000 |
commit | c872cbbc2a7817b2b938febeb3fdab36e6bfa570 (patch) | |
tree | db3e716fa80e70549071069e999fbb84bbb1e5da /contrib | |
parent | c2e95c24c18e69ddb849f20f70c8fd7275381bd8 (diff) |
build: fix building with MinGW.
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
Diffstat (limited to 'contrib')
-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 |