Module: libav
Branch: master
Commit: 59b9d2f684f1ff66627ca2b7d2dd05771ade62f0

Author:    Luca Barbato <[email protected]>
Committer: Luca Barbato <[email protected]>
Date:      Sun Mar  6 22:52:04 2016 +0100

configure: Add support for clang llvm-cov

---

 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

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to