[all-commits] [llvm/llvm-project] 9bc20f: [Clang][Cygwin] Disable shared libs on Cygwin by d...

Mateusz Mikuła via All-commits all-commits at lists.llvm.org
Fri May 2 01:02:34 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9bc20fbbadb18a1c3415d4442066ed35a6bcc175
      https://github.com/llvm/llvm-project/commit/9bc20fbbadb18a1c3415d4442066ed35a6bcc175
  Author: Mateusz Mikuła <oss at mateuszmikula.dev>
  Date:   2025-05-02 (Fri, 02 May 2025)

  Changed paths:
    M clang/tools/CMakeLists.txt
    M clang/tools/libclang/CMakeLists.txt

  Log Message:
  -----------
  [Clang][Cygwin] Disable shared libs on Cygwin by default (#138119)

This change follows MinGW decisions, otherwise build with GCC fail with:
```
FAILED: bin/msys-clang-cpp-21.0git.dll lib/libclang-cpp.dll.a
...
/usr/lib/gcc/x86_64-pc-msys/13.3.0/../../../../x86_64-pc-msys/bin/ld: error: export ordinal too large: 92250
```

Co-authored-by: jeremyd2019 <github at jdrake.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list