From f51263e6fe29c6b07b824cb4c703f1341edc4da5 Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Sun, 19 May 2013 11:23:28 +0200
Subject: [PATCH] configure: fix valgrind-massif to actually work

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 16d5fd32fbe..9d6ce4f58ab 100755
--- a/configure
+++ b/configure
@@ -2517,7 +2517,7 @@ case "$toolchain" in
     ;;
     valgrind-massif)
         target_exec_default="valgrind"
-        target_exec_args="--alloc-fn=av_malloc --alloc-fn=av_mallocz"
+        target_exec_args="--tool=massif --alloc-fn=av_malloc --alloc-fn=av_mallocz"
     ;;
     valgrind-memcheck)
         target_exec_default=${valgrind:-"valgrind"}
-- 
GitLab