configure: Add support for clang llvm-cov
This commit is contained in:
parent
c11a858626
commit
59b9d2f684
4
configure
vendored
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…
x
Reference in New Issue
Block a user