diff --git a/scripts/genie.lua b/scripts/genie.lua index 9d686e1f274..ad60bc79252 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -805,6 +805,10 @@ end "-O".. _OPTIONS["OPTIMIZE"], "-fno-strict-aliasing" } +configuration { "mingw-clang" } + buildoptions { + "-O1", -- without this executable crash often + } -- add the error warning flag if _OPTIONS["NOWERROR"]==nil then