diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2012-10-14 07:54:22 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2012-10-15 18:25:35 +0200 |
commit | 0fbb62a8e6c6f0b431f736eed1da2cc649253f27 (patch) | |
tree | be323d5f548db197abd55d99fda1b548ddc86a06 /configure | |
parent | 7e68c91e247ba20fc8a08cf5a6cf2b75984f1aeb (diff) | |
download | ffmpeg-0fbb62a8e6c6f0b431f736eed1da2cc649253f27.tar.gz |
build: support asan and tsan toolchain shortcuts
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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" |