diff options
Diffstat (limited to 'infra/bots/recipe_modules/flavor')
-rw-r--r-- | infra/bots/recipe_modules/flavor/gn_flavor.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/infra/bots/recipe_modules/flavor/gn_flavor.py b/infra/bots/recipe_modules/flavor/gn_flavor.py index 8f072106fa..ab8a39e951 100644 --- a/infra/bots/recipe_modules/flavor/gn_flavor.py +++ b/infra/bots/recipe_modules/flavor/gn_flavor.py @@ -44,8 +44,9 @@ class GNFlavorUtils(default_flavor.DefaultFlavorUtils): if compiler == 'Clang' and os == 'Ubuntu': cc = clang_linux + '/bin/clang' cxx = clang_linux + '/bin/clang++' - if 'MSAN' not in extra_config: - extra_ldflags.append('-fuse-ld=lld') + extra_cflags .append('-B%s/bin' % clang_linux) + extra_ldflags.append('-B%s/bin' % clang_linux) + extra_ldflags.append('-fuse-ld=lld') elif compiler == 'Clang': cc, cxx = 'clang', 'clang++' elif compiler == 'GCC': |