configure: Add support for clang llvm-cov

pull/202/head
Luca Barbato 9 years ago
parent c11a858626
commit 59b9d2f684
  1. 4
      configure

4
configure vendored

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