зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1478499 - Consider GCC_USE_GNU_LD when passing a symbols file in the Tup build for consistency with the Make build. r=mshal
MozReview-Commit-ID: 7D4zYj6vhly --HG-- extra : rebase_source : 8552b2f277318c9f56523171f996167066aed6f1
This commit is contained in:
Родитель
8f4e7ae4ec
Коммит
ed4f391f1c
|
@ -379,9 +379,9 @@ class TupBackend(CommonBackend):
|
|||
static_libs += rust_linked
|
||||
|
||||
symbols_file = []
|
||||
if shlib.symbols_file:
|
||||
if (shlib.symbols_file and
|
||||
backend_file.environment.substs.get('GCC_USE_GNU_LD')):
|
||||
inputs.append(shlib.symbols_file)
|
||||
# TODO: Assumes GNU LD
|
||||
symbols_file = ['-Wl,--version-script,%s' % shlib.symbols_file]
|
||||
|
||||
cmd = (
|
||||
|
|
Загрузка…
Ссылка в новой задаче