Try to build MinGW with static stdlib

This commit is contained in:
Lynix 2022-04-09 21:00:22 +02:00 committed by SirLynix
parent eaee9692be
commit 2b43b24ae9
1 changed files with 1 additions and 0 deletions

View File

@ -187,6 +187,7 @@ if is_plat("windows") then
add_cxflags("/wd4275") -- Disable warning: DLL-interface class 'class_1' used as base for DLL-interface blah
elseif is_plat("mingw") then
add_cxflags("-Og", "-Wa,-mbig-obj")
add_ldflags("-static")
add_ldflags("-Wa,-mbig-obj")
end