Integrate lcov/gcov into Libav
[ffmpeg.git] / configure
index 10246e5..8c07d0a 100755 (executable)
--- a/configure
+++ b/configure
@@ -2173,6 +2173,10 @@ case "$toolchain" in
         ar_default="lib"
         target_os_default="win32"
     ;;
+    gcov)
+        add_cflags  -fprofile-arcs -ftest-coverage
+        add_ldflags -fprofile-arcs -ftest-coverage
+    ;;
     ?*)
         die "Unknown toolchain $toolchain"
     ;;