mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
configure: support lsan as toolchain
This commit is contained in:
parent
a69b08790b
commit
f1f41d6ff5
5
configure
vendored
5
configure
vendored
@ -4317,6 +4317,11 @@ case "$toolchain" in
|
||||
add_cflags -fsanitize=address
|
||||
add_ldflags -fsanitize=address
|
||||
;;
|
||||
*-lsan)
|
||||
cc_default="${toolchain%-lsan}"
|
||||
add_cflags -fsanitize=leak
|
||||
add_ldflags -fsanitize=leak
|
||||
;;
|
||||
*-msan)
|
||||
cc_default="${toolchain%-msan}"
|
||||
add_cflags -fsanitize=memory -fsanitize-memory-track-origins
|
||||
|
Loading…
Reference in New Issue
Block a user