Linux: Enable multi-threading with the gold linker.

BUG=161942

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

Cr-Original-Commit-Position: refs/heads/master@{#314991}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 226488abee2adbdb6e54e5bfca1c3b2f52f2da2d
This commit is contained in:
thestig 2015-02-05 23:14:30 -08:00 коммит произвёл Commit bot
Родитель 906f64eb81
Коммит 22a9eba49c
2 изменённых файлов: 4 добавлений и 8 удалений

Просмотреть файл

@ -4405,10 +4405,8 @@
# https://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/281527606915bb36
# Only apply this to the target linker, since the host
# linker might not be gold, but isn't used much anyway.
# TODO(raymes): Disable threading because gold is frequently
# crashing on the bots: crbug.com/161942.
# '-Wl,--threads',
# '-Wl,--thread-count=4',
'-Wl,--threads',
'-Wl,--thread-count=4',
],
}],
],

Просмотреть файл

@ -380,10 +380,8 @@ config("compiler") {
# https://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/281527606915bb36
# Only apply this to the target linker, since the host
# linker might not be gold, but isn't used much anyway.
# TODO(raymes): Disable threading because gold is frequently
# crashing on the bots: crbug.com/161942.
#"-Wl,--threads",
#"-Wl,--thread-count=4",
"-Wl,--threads",
"-Wl,--thread-count=4",
]
}