[build] Disable linker threading in LTO builds, as it causes intermittent link failures.
authorpcc <pcc@chromium.org>
Fri, 24 Jul 2015 06:17:52 +0000 (23:17 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 24 Jul 2015 06:18:06 +0000 (06:18 +0000)
BUG=chromium:513074
R=bmeurer@chromium.org
LOG=n

Review URL: https://codereview.chromium.org/1249273003

Cr-Commit-Position: refs/heads/master@{#29827}

build/toolchain.gypi

index 4dbf42b..a8a3b56 100644 (file)
               }],
             ],
           }],
-          ['linux_use_gold_flags==1', {
+          # TODO(pcc): Re-enable in LTO builds once we've fixed the intermittent
+          # link failures (crbug.com/513074).
+          ['linux_use_gold_flags==1 and use_lto==0', {
             'target_conditions': [
               ['_toolset=="target"', {
                 'ldflags': [