[fuzz] Turn off -Werror by default

This was causing OSS-Fuzz errors, due to compiler differences.
* Fix the issue
* Also turn off -Werror so we don't fail fuzzer builds for warnings
* Turn on -Werror in our CI
This commit is contained in:
Nick Terrell
2024-03-26 16:34:36 -07:00
committed by Nick Terrell
parent 78f732cfdd
commit 81a5e5d438
3 changed files with 3 additions and 4 deletions
-1
View File
@@ -408,7 +408,6 @@ def build(args):
mflags = shlex.split(args.mflags)
# Flags to be added to both cflags and cxxflags
common_flags = [
'-Werror',
'-Wno-error=declaration-after-statement',
'-Wno-error=c++-compat',
'-Wno-error=deprecated' # C files are sometimes compiled with CXX