mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 03:59:43 +00:00
clang: use -fsantize=address and -fsanitize=thread
The previous syntax is deprecated.
This commit is contained in:
parent
6e3c13a559
commit
19f251a288
8
configure
vendored
8
configure
vendored
@ -2158,13 +2158,13 @@ sysinclude_default="${sysroot}/usr/include"
|
||||
case "$toolchain" in
|
||||
clang-asan)
|
||||
cc_default="clang"
|
||||
add_cflags -faddress-sanitizer
|
||||
add_ldflags -faddress-sanitizer
|
||||
add_cflags -fsanitize=address
|
||||
add_ldflags -fsanitize=address
|
||||
;;
|
||||
clang-tsan)
|
||||
cc_default="clang"
|
||||
add_cflags -fthread-sanitizer
|
||||
add_ldflags -fthread-sanitizer
|
||||
add_cflags -fsanitize=thread -pie
|
||||
add_ldflags -fsanitize=thread -pie
|
||||
;;
|
||||
msvc)
|
||||
cc_default="c99wrap cl"
|
||||
|
Loading…
Reference in New Issue
Block a user