aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipe_modules/flavor
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-04-13 09:49:02 -0400
committerGravatar Mike Klein <mtklein@chromium.org>2017-04-13 14:33:46 +0000
commit2a5c66666e604a3e7910cac2c5cb4732d25c7bc5 (patch)
tree1b81c04e31fe8b6a7162baaf2523e2e00d1b7a84 /infra/bots/recipe_modules/flavor
parent2d2da4f9ee4932720c71348d0aff0cd75ebd956b (diff)
try -B
Change-Id: I4e03d668197d76feb71113f47bae24fdd2fc6b6f Reviewed-on: https://skia-review.googlesource.com/13334 Reviewed-by: Kevin Lubick <kjlubick@google.com>
Diffstat (limited to 'infra/bots/recipe_modules/flavor')
-rw-r--r--infra/bots/recipe_modules/flavor/gn_flavor.py5
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':