Fixed bgfx#779 issue.

This commit is contained in:
Branimir Karadžić
2016-04-30 11:28:05 -07:00
parent d0e3e2f2e9
commit 5bfd938e3e

View File

@@ -544,7 +544,10 @@ function toolchain(_buildDir, _libDir)
libdirs {
path.join(_libDir, "lib/win32_mingw-gcc"),
}
buildoptions { "-m32" }
buildoptions {
"-m32",
"-mstackrealign",
}
configuration { "x64", "mingw-gcc" }
targetdir (path.join(_buildDir, "win64_mingw-gcc/bin"))