зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1750671 - Adjustments to fix testcase. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D136270
This commit is contained in:
Родитель
88a7543acc
Коммит
6c2ecbdb2e
|
@ -95,9 +95,9 @@ def check_headers(*headers, **kwargs):
|
|||
return checks
|
||||
|
||||
|
||||
@depends(linker_ldflags, target)
|
||||
def check_symbol_flags(linker_ldflags, target):
|
||||
if target.kernel == "WINNT":
|
||||
@depends(linker_ldflags, target.kernel)
|
||||
def check_symbol_flags(linker_ldflags, kernel):
|
||||
if kernel == "WINNT":
|
||||
# The build doesn't use the compiler to link things as of writing,
|
||||
# but some compilation checks do. When using clang-cl, the only
|
||||
# linker we really support is lld.link, but clang-cl defaults to
|
||||
|
|
|
@ -61,6 +61,10 @@ class BaseCompileChecks(unittest.TestCase):
|
|||
def stlport_cppflags():
|
||||
return []
|
||||
|
||||
@depends(when=True)
|
||||
def linker_ldflags():
|
||||
return []
|
||||
|
||||
target = depends(when=True)(lambda: True)
|
||||
|
||||
include('%s/compilers-util.configure')
|
||||
|
|
Загрузка…
Ссылка в новой задаче