mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
configure: do not add fsanitize cflags with ossfuzz if coverage is tested
Found-by: Max Moroz Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
c9ed7f0024
commit
4251a44e7d
2
configure
vendored
2
configure
vendored
@ -3964,7 +3964,7 @@ set >> $logfile
|
||||
|
||||
test -n "$valgrind" && toolchain="valgrind-memcheck"
|
||||
|
||||
enabled ossfuzz && ! echo $CFLAGS | grep -q -- "-fsanitize=" &&{
|
||||
enabled ossfuzz && ! echo $CFLAGS | grep -q -- "-fsanitize=" && ! echo $CFLAGS | grep -q -- "-fcoverage-mapping" &&{
|
||||
add_cflags -fsanitize=address,undefined -fsanitize-coverage=trace-pc-guard,trace-cmp -fno-omit-frame-pointer
|
||||
add_ldflags -fsanitize=address,undefined -fsanitize-coverage=trace-pc-guard,trace-cmp
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user