From 0b44a69baf3714e6c29a50d8ba9885bdcc116129 Mon Sep 17 00:00:00 2001 From: Oliver Chang Date: Wed, 22 Nov 2017 13:37:02 -0800 Subject: [PATCH] [infra] msan builder: disable all warnings. --- .../base-images/msan-builder/compiler_wrapper.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/infra/base-images/msan-builder/compiler_wrapper.py b/infra/base-images/msan-builder/compiler_wrapper.py index 962cfb896..612ce7f7a 100755 --- a/infra/base-images/msan-builder/compiler_wrapper.py +++ b/infra/base-images/msan-builder/compiler_wrapper.py @@ -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