shithub: dav1d

Download patch

ref: a2cb9f50b3ed00725476945c250ff62f8e1b2040
parent: f713e25030bbe8deaf6266246f78b4e5d3a05bf7
author: Janne Grunau <[email protected]>
date: Wed May 8 17:01:13 EDT 2019

fuzzer: fix oss-fuzz undefined behavior sanitizer build

--- a/tests/meson.build
+++ b/tests/meson.build
@@ -104,7 +104,7 @@
     fuzzer_ldflags += ['-fsanitize=fuzzer']
 elif fuzzing_engine == 'oss-fuzz'
     # libFuzzingEngine needs libc++
-    fuzzer_ldflags += ['-lFuzzingEngine', '-lc++']
+    fuzzer_ldflags += ['-fsanitize=fuzzer', '-lFuzzingEngine', '-lc++']
 endif
 
 dav1d_fuzzer = executable('dav1d_fuzzer',