Commit fb90e7b8 authored by Michael Niedermayer's avatar Michael Niedermayer

configure: Use the tool specified with --valgrind instead of a hardcoded "valgrind"

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 54021aea
......@@ -2507,7 +2507,7 @@ case "$toolchain" in
add_ldflags -fsanitize=thread -pie
;;
valgrind-memcheck)
target_exec_default="valgrind"
target_exec_default=${valgrind:-"valgrind"}
target_exec_args="--error-exitcode=1 --malloc-fill=0x2a --track-origins=yes --leak-check=full --gen-suppressions=all --suppressions=$source_path/tests/fate-valgrind.supp"
;;
msvc)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment