diff --git a/infra/base-images/base-msan-builder/compiler_wrapper.py b/infra/base-images/base-msan-builder/compiler_wrapper.py index b93234dc4..d9f847754 100755 --- a/infra/base-images/base-msan-builder/compiler_wrapper.py +++ b/infra/base-images/base-msan-builder/compiler_wrapper.py @@ -114,6 +114,8 @@ def GetCompilerArgs(args, is_cxx): '-gline-tables-only', # Disable all warnings. '-w', + # LTO isn't supported. + '-fno-lto', ]) if InvokedAsGcc():