Merge pull request #460 from marynate/PR-static-mingw-build
Static mingw windows 32bit build - In any case, i think this depends on the version of mingw you have installed.
This commit is contained in:
commit
2bf34875de
@ -143,10 +143,12 @@ def configure(env):
|
||||
mingw_prefix=""
|
||||
|
||||
if (env["force_32_bits"]!="no"):
|
||||
env['OBJSUFFIX'] = ".32"+env['OBJSUFFIX']
|
||||
env['LIBSUFFIX'] = ".32"+env['LIBSUFFIX']
|
||||
env.Append(CCFLAGS=['-m32'])
|
||||
env.Append(LINKFLAGS=['-m32'])
|
||||
env['OBJSUFFIX'] = ".32"+env['OBJSUFFIX']
|
||||
env['LIBSUFFIX'] = ".32"+env['LIBSUFFIX']
|
||||
env.Append(CCFLAGS=['-m32'])
|
||||
env.Append(LINKFLAGS=['-m32'])
|
||||
env.Append(LINKFLAGS=['-static-libgcc'])
|
||||
env.Append(LINKFLAGS=['-static-libstdc++'])
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user