fix /RTCcsu build

This commit is contained in:
jacob 2024-06-21 12:19:14 -05:00
parent 377b83e035
commit 28cb519b7a

View File

@ -386,7 +386,7 @@ void OnBuild(StringList cli_args)
if (arg_msvc) {
if (!arg_asan) {
/* Enable /RTC option (not compatible with ASAN) */
StringListAppend(&arena, &compile_and_link_args, Lit("/RTCcsu"));
StringListAppend(&arena, &compile_args, Lit("/RTCcsu"));
}
} else {
/* Enable UBSan */