[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:
parent
961b052e98
commit
b35b6297fd
@ -68,6 +68,7 @@ if (current_toolchain == host_toolchain) {
|
|||||||
if (current_os != "win") {
|
if (current_os != "win") {
|
||||||
cflags += [ "-ftls-model=initial-exec" ]
|
cflags += [ "-ftls-model=initial-exec" ]
|
||||||
} else {
|
} else {
|
||||||
|
cflags += [ "/MD" ]
|
||||||
ldflags = [ "/OPT:NOICF" ]
|
ldflags = [ "/OPT:NOICF" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user