[gn build] Build win asan libraries against MutliThreadedDLL

win asan only supports /MD. Without this, the asan runtime cannot intercept functions.
This commit is contained in:
Arthur Eubanks 2025-08-19 19:48:32 +00:00
parent 961b052e98
commit b35b6297fd

View File

@ -68,6 +68,7 @@ if (current_toolchain == host_toolchain) {
if (current_os != "win") {
cflags += [ "-ftls-model=initial-exec" ]
} else {
cflags += [ "/MD" ]
ldflags = [ "/OPT:NOICF" ]
}