mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
configure: Omit fsanitize flags if they are already specified by the user
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -3942,7 +3942,7 @@ set >> $logfile
|
||||
|
||||
test -n "$valgrind" && toolchain="valgrind-memcheck"
|
||||
|
||||
enabled ossfuzz && {
|
||||
enabled ossfuzz && ! echo $CFLAGS | grep -q -- "-fsanitize=" &&{
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user