Bug 1750671 - Adjustments to fix testcase. CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D136270
This commit is contained in:
Mike Hommey 2022-01-18 21:31:56 +00:00
Родитель 88a7543acc
Коммит 6c2ecbdb2e
2 изменённых файлов: 7 добавлений и 3 удалений

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

@ -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')