diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2013-03-28 03:30:53 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-04-03 12:23:43 +0200 |
commit | 19f251a2882a8d0779b432e63bf282e4d9c443bb (patch) | |
tree | 8c789177f4f5a78f5435e76acf90a66874cb1c25 | |
parent | 6e3c13a559e9ff300b5ca60e1d503e594d7f055c (diff) | |
download | ffmpeg-19f251a2882a8d0779b432e63bf282e4d9c443bb.tar.gz |
clang: use -fsantize=address and -fsanitize=thread
The previous syntax is deprecated.
-rwxr-xr-x | configure | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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" |