[FFmpeg-cvslog] configure: Omit fsanitize flags if they are already specified by the user
Michael Niedermayer
git at videolan.org
Sun May 27 22:39:22 EEST 2018
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sat May 26 02:28:57 2018 +0200| [1386a199f9fe3d1ab3a6bb8a4e2fe5a9961024e8] | committer: Michael Niedermayer
configure: Omit fsanitize flags if they are already specified by the user
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1386a199f9fe3d1ab3a6bb8a4e2fe5a9961024e8
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 64c90bb6a2..22eeca22a5 100755
--- a/configure
+++ b/configure
@@ -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
}
More information about the ffmpeg-cvslog
mailing list