зеркало из 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: 8o4o9HiGdrR --HG-- extra : rebase_source : cc7f1ccd01d29c20ce4dd786604e17d37a364733
This commit is contained in:
Родитель
33e4c7d352
Коммит
60004c225e
|
@ -383,9 +383,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 = (
|
||||
|
|
Загрузка…
Ссылка в новой задаче