Replace /GS- with NoBufferSecurityCheck

This is how it's supposed to be done.
Stops this from being spammed:
cl : command line  warning D9025: overriding '/GS' with '/GS-' [D:\a\xenia-canary\xenia-canary\build\glslang-spirv.vcxproj]
This commit is contained in:
Margen67 2024-12-12 22:15:38 -08:00
parent 3acf3fdcd1
commit d94940f850
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,6 @@ filter({"configurations:Checked", "platforms:Linux"})
filter({"configurations:Release", "platforms:Windows"}) filter({"configurations:Release", "platforms:Windows"})
buildoptions({ buildoptions({
"/Gw", "/Gw",
"/GS-",
"/Ob3", "/Ob3",
}) })
@ -91,6 +90,7 @@ filter("configurations:Release")
inlining("Auto") inlining("Auto")
flags({ flags({
"LinkTimeOptimization", "LinkTimeOptimization",
"NoBufferSecurityCheck",
}) })
-- Not using floatingpoint("Fast") - NaN checks are used in some places -- Not using floatingpoint("Fast") - NaN checks are used in some places
-- (though rarely), overall preferable to avoid any functional differences -- (though rarely), overall preferable to avoid any functional differences