summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-05-29 04:33:27 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-05-29 04:33:27 +0200
commit8543575cc4e270b2d53d00ed0d26140a9badc6bd (patch)
tree88c7944f94fb7a60f97550bb2affc528d9f7f05e /configure
parent1f5e5d2205df568f86371660b0991ec7087e94e6 (diff)
parent78f75b6fa421dd39a715588e9487579f1ce5bada (diff)
downloadffmpeg-8543575cc4e270b2d53d00ed0d26140a9badc6bd.tar.gz
Merge commit '78f75b6fa421dd39a715588e9487579f1ce5bada'
* commit '78f75b6fa421dd39a715588e9487579f1ce5bada': wavpack: extract sample rate from the bitstream configure: support gcc-4.8 instrumentation Conflicts: libavcodec/wavpack.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure b/configure
index 0ff6edd54a..8651e2272e 100755
--- a/configure
+++ b/configure
@@ -2518,6 +2518,16 @@ case "$toolchain" in
add_cflags -fsanitize=thread -pie
add_ldflags -fsanitize=thread -pie
;;
+ gcc-asan)
+ cc_default="gcc"
+ add_cflags -fsanitize=address
+ add_ldflags -fsanitize=address
+ ;;
+ gcc-tsan)
+ cc_default="gcc"
+ add_cflags -fsanitize=thread -pie -fPIC
+ add_ldflags -fsanitize=thread -pie -fPIC
+ ;;
valgrind-massif)
target_exec_default=${valgrind:-"valgrind"}
target_exec_args="--tool=massif --alloc-fn=av_malloc --alloc-fn=av_mallocz --alloc-fn=av_calloc --alloc-fn=av_fast_padded_malloc --alloc-fn=av_fast_malloc --alloc-fn=av_realloc_f --alloc-fn=av_fast_realloc --alloc-fn=av_realloc"