Browse Source

configure: Add support for clang llvm-cov

tags/n3.1
Luca Barbato 10 years ago
parent
commit
59b9d2f684
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      configure

+ 4
- 0
configure View File

@@ -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


Loading…
Cancel
Save