fix /RTCcsu build
This commit is contained in:
parent
377b83e035
commit
28cb519b7a
2
build.c
2
build.c
@ -386,7 +386,7 @@ void OnBuild(StringList cli_args)
|
|||||||
if (arg_msvc) {
|
if (arg_msvc) {
|
||||||
if (!arg_asan) {
|
if (!arg_asan) {
|
||||||
/* Enable /RTC option (not compatible with ASAN) */
|
/* Enable /RTC option (not compatible with ASAN) */
|
||||||
StringListAppend(&arena, &compile_and_link_args, Lit("/RTCcsu"));
|
StringListAppend(&arena, &compile_args, Lit("/RTCcsu"));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
/* Enable UBSan */
|
/* Enable UBSan */
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user