From a4cc1a790623cc3e2288483674412c0d7cd8ab94 Mon Sep 17 00:00:00 2001 From: Margen67 Date: Thu, 12 Dec 2024 22:15:38 -0800 Subject: [PATCH] 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] --- premake5.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/premake5.lua b/premake5.lua index f439991e8..bf143ba6d 100644 --- a/premake5.lua +++ b/premake5.lua @@ -65,7 +65,6 @@ filter({"configurations:Checked", "platforms:Linux"}) filter({"configurations:Release", "platforms:Windows"}) buildoptions({ "/Gw", - "/GS-", "/Ob3", }) @@ -91,6 +90,7 @@ filter("configurations:Release") inlining("Auto") flags({ "LinkTimeOptimization", + "NoBufferSecurityCheck", }) -- Not using floatingpoint("Fast") - NaN checks are used in some places -- (though rarely), overall preferable to avoid any functional differences