mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02: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"
|
sysinclude_default="${sysroot}/usr/include"
|
||||||
|
|
||||||
case "$toolchain" in
|
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)
|
msvc)
|
||||||
cc_default="c99wrap cl"
|
cc_default="c99wrap cl"
|
||||||
ld_default="c99wrap link"
|
ld_default="c99wrap link"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user