diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua index 7b8a019..a8dfba4 100755 --- a/scripts/toolchain.lua +++ b/scripts/toolchain.lua @@ -428,6 +428,7 @@ function toolchain(_buildDir, _libDir) "NoRTTI", "NoExceptions", "NoEditAndContinue", + "NoFramePointer", "Symbols", } @@ -466,7 +467,6 @@ function toolchain(_buildDir, _libDir) "_CRT_SECURE_NO_DEPRECATE", } buildoptions { - "/Oy-", -- Suppresses creation of frame pointers on the call stack. "/Ob2", -- The Inline Function Expansion } linkoptions {