projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c11a858
)
configure: Add support for clang llvm-cov
author
Luca Barbato
<lu_zero@gentoo.org>
Sun, 6 Mar 2016 21:52:04 +0000
(22:52 +0100)
committer
Luca Barbato
<lu_zero@gentoo.org>
Mon, 7 Mar 2016 15:59:00 +0000
(16:59 +0100)
configure
patch
|
blob
|
blame
|
history
diff --git
a/configure
b/configure
index
f0c4f0a
..
9ffb679
100755
(executable)
--- 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