mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-28 10:22:10 +00:00
build: support asan and tsan toolchain shortcuts
This commit is contained in:
parent
7e68c91e24
commit
0fbb62a8e6
10
configure
vendored
10
configure
vendored
@ -2048,6 +2048,16 @@ ranlib="${cross_prefix}${ranlib}"
|
||||
sysinclude_default="${sysroot}/usr/include"
|
||||
|
||||
case "$toolchain" in
|
||||
clang-asan)
|
||||
cc_default="clang"
|
||||
add_cflags -faddress-sanitizer
|
||||
add_ldflags -faddress-sanitizer
|
||||
;;
|
||||
clang-tsan)
|
||||
cc_default="clang"
|
||||
add_cflags -fthread-sanitizer
|
||||
add_ldflags -fthread-sanitizer
|
||||
;;
|
||||
msvc)
|
||||
cc_default="c99wrap cl"
|
||||
ld_default="c99wrap link"
|
||||
|
Loading…
Reference in New Issue
Block a user