mirror of https://git.ffmpeg.org/ffmpeg.git
configure: Support msan as toolchain
This commit is contained in:
parent
328e9a15c5
commit
c11a858626
|
@ -2701,6 +2701,11 @@ case "$toolchain" in
|
||||||
add_cflags -fsanitize=address
|
add_cflags -fsanitize=address
|
||||||
add_ldflags -fsanitize=address
|
add_ldflags -fsanitize=address
|
||||||
;;
|
;;
|
||||||
|
*-msan)
|
||||||
|
cc_default="${toolchain%-msan}"
|
||||||
|
add_cflags -fsanitize=memory -fsanitize-memory-track-origins
|
||||||
|
add_ldflags -fsanitize=memory
|
||||||
|
;;
|
||||||
*-tsan)
|
*-tsan)
|
||||||
cc_default="${toolchain%-tsan}"
|
cc_default="${toolchain%-tsan}"
|
||||||
add_cflags -fsanitize=thread -pie
|
add_cflags -fsanitize=thread -pie
|
||||||
|
|
Loading…
Reference in New Issue