ffmpeg | branch: master | Michael Niedermayer <mich...@niedermayer.cc> | Sat 
Aug 18 10:34:15 2018 +0200| [4251a44e7d9ec0322973ae2b286942f03632eeeb] | 
committer: Michael Niedermayer

configure: do not add fsanitize cflags with ossfuzz if coverage is tested

Found-by: Max Moroz
Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4251a44e7d9ec0322973ae2b286942f03632eeeb
---

 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 9b5421d5a8..b9c9d0b307 100755
--- a/configure
+++ b/configure
@@ -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
 }

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to