mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 03:06:29 +00:00
Disables frame-pointer omission in VC++ 2008 projects, fixes stack dump in release build, fixes #2078
This was SVN commit r13779.
This commit is contained in:
@@ -177,6 +177,12 @@ function project_set_build_flags()
|
||||
-- use native wchar_t type (not typedef to unsigned short)
|
||||
flags { "NativeWChar" }
|
||||
|
||||
-- VC++ 2008 has implied FPO as the default (newer versions default to /Oy-)
|
||||
-- disable it explicitly since it breaks our stack walker in release build
|
||||
if _ACTION == "vs2008" then
|
||||
buildoptions { "/Oy-" }
|
||||
end
|
||||
|
||||
else -- *nix
|
||||
if _OPTIONS["icc"] and not _OPTIONS["minimal-flags"] then
|
||||
buildoptions {
|
||||
|
||||
Reference in New Issue
Block a user