Commit 1386a199 authored by Michael Niedermayer's avatar Michael Niedermayer

configure: Omit fsanitize flags if they are already specified by the user

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 0263c52f
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment