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/libiconv | |
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/libiconv')
-rw-r--r-- | contrib/libiconv/module.defs | 5 |
1 files changed, 5 insertions, 0 deletions
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 |