[FFmpeg-cvslog] configure: Add support for clang llvm-cov

Luca Barbato git at videolan.org
Wed Apr 13 18:29:27 CEST 2016


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Sun Mar  6 22:52:04 2016 +0100| [59b9d2f684f1ff66627ca2b7d2dd05771ade62f0] | committer: Luca Barbato

configure: Add support for clang llvm-cov

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=59b9d2f684f1ff66627ca2b7d2dd05771ade62f0
---

 configure |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure b/configure
index f0c4f0a..9ffb679 100755
--- a/configure
+++ b/configure
@@ -2778,6 +2778,10 @@ case "$toolchain" in
         add_cflags  -fprofile-arcs -ftest-coverage
         add_ldflags -fprofile-arcs -ftest-coverage
     ;;
+    llvm-cov)
+        add_cflags -fprofile-arcs -ftest-coverage
+        add_ldflags --coverage
+    ;;
     hardened)
         add_cppflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
         add_cflags   -fno-strict-overflow -fstack-protector-all



More information about the ffmpeg-cvslog mailing list