mirror of
https://github.com/facebook/zstd.git
synced 2025-07-29 11:21:22 +03:00
Merge pull request #3979 from yoniko/Werror-fuzz
Fail on errors when building fuzzers
This commit is contained in:
@ -407,7 +407,12 @@ def build(args):
|
||||
cxxflags = shlex.split(args.cxxflags)
|
||||
mflags = shlex.split(args.mflags)
|
||||
# Flags to be added to both cflags and cxxflags
|
||||
common_flags = []
|
||||
common_flags = [
|
||||
'-Werror',
|
||||
'-Wno-error=declaration-after-statement',
|
||||
'-Wno-error=c++-compat',
|
||||
'-Wno-error=deprecated' # C files are sometimes compiled with CXX
|
||||
]
|
||||
|
||||
cppflags += [
|
||||
'-DDEBUGLEVEL={}'.format(args.debug),
|
||||
|
Reference in New Issue
Block a user