Commit 056368b3 authored by Ted Mielczarek's avatar Ted Mielczarek
Browse files

bug 1318370 - fix clang-cl builds. r=bustage

MozReview-Commit-ID: 8imNZDxMkVF

--HG--
extra : rebase_source : 58a6a51428b5c7229dc968e3cc74ea9b751f051e
parent 70d5eceb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -970,9 +970,9 @@ set_config('VISIBILITY_FLAGS', visibility_flags)

@depends(c_compiler, using_sccache)
def depend_cflags(c_compiler, using_sccache):
    if c_compiler.type != 'msvc':
    if c_compiler.type in ('gcc', 'clang'):
        return '-MD -MP -MF $(MDDEPDIR)/$(@F).pp'
    elif using_sccache:
    elif c_compiler.type == 'msvc' and using_sccache:
        # sccache supports a special flag to create depfiles
        # by parsing MSVC's -showIncludes output.
        return '-deps$(MDDEPDIR)/$(@F).pp'