diff --git a/build.c b/build.c index da242dc4..42bc8f40 100644 --- a/build.c +++ b/build.c @@ -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 */