[infra] msan builder: disable all warnings.

This commit is contained in:
Oliver Chang 2017-11-22 13:37:02 -08:00
parent 5ccbcb82b4
commit 0b44a69baf
1 changed files with 8 additions and 7 deletions

View File

@ -62,14 +62,15 @@ def GetCompilerArgs(args):
return compiler_args
# FORTIFY_SOURCE is not supported by sanitizers.
compiler_args.extend([
'-U_FORTIFY_SOURCE',
])
compiler_args = RemoveZDefs(compiler_args)
# Reduce build size.
compiler_args.append('-gline-tables-only')
compiler_args.extend([
# FORTIFY_SOURCE is not supported by sanitizers.
'-U_FORTIFY_SOURCE',
# Reduce binary size.
'-gline-tables-only',
# Disable all warnings.
'-w',
])
return compiler_args