You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
configure: Add support for clang llvm-cov
This commit is contained in:
4
configure
vendored
4
configure
vendored
@@ -2778,6 +2778,10 @@ case "$toolchain" in
|
|||||||
add_cflags -fprofile-arcs -ftest-coverage
|
add_cflags -fprofile-arcs -ftest-coverage
|
||||||
add_ldflags -fprofile-arcs -ftest-coverage
|
add_ldflags -fprofile-arcs -ftest-coverage
|
||||||
;;
|
;;
|
||||||
|
llvm-cov)
|
||||||
|
add_cflags -fprofile-arcs -ftest-coverage
|
||||||
|
add_ldflags --coverage
|
||||||
|
;;
|
||||||
hardened)
|
hardened)
|
||||||
add_cppflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
|
add_cppflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
|
||||||
add_cflags -fno-strict-overflow -fstack-protector-all
|
add_cflags -fno-strict-overflow -fstack-protector-all
|
||||||
|
Reference in New Issue
Block a user