[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#53479: clang identified as MSVC because of cl* match

From: Ozkan Sezer
Subject: bug#53479: clang identified as MSVC because of cl* match
Date: Sun, 23 Jan 2022 20:10:00 +0300

On 1/23/22, Brecht Sanders <brecht@sanders.org> wrote:
> When building MinGW-w64 with clang I ran into issues compiling
> |winpthreads|.
> Somehow |libtool| would always build as if the compiler was MSVC (|.lib|
> instead of |.a|, MSVC-style linker flags).
> After digging into what caused this I found that
> |mingw-w64-libraries/winpthreads/configure| matches the compiler with
> |cl*| to detect MSVC (|cl.exe|) but as I'm using |clang.exe| this also
> matches.
> But there are more similar issues in m4/libtool.m4.
> How do I get around this, or is this something that can be fixed in
> libtool?

I guess the problem is at these two lines at least:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]