Allow build with i686-w64-mingw32

Closes #3630
This commit is contained in:
kaidoho
2018-12-02 16:35:34 +01:00
committed by Chris Johns
parent ea86d967ec
commit a1a05c7c63

View File

@@ -129,7 +129,7 @@ def rebuild(ctx):
waflib.Options.commands.extend(['clean', 'build'])
def check_options(ctx, host):
if host in ['mingw32', 'x86_64-w64-mingw32']:
if host in ['mingw32', 'x86_64-w64-mingw32', 'i686-w64-mingw32']:
ctx.env.HOST = host
ctx.env.CC = '%s-gcc' % (host)
ctx.env.CXX = '%s-g++' % (host)