[clang] [llvm] [LLVM][Clang][Cygwin] Fix building Clang for Cygwin (PR #134494)
Mateusz MikuĊa via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 8 12:48:02 PDT 2025
================
@@ -106,7 +106,7 @@ if (LLVM_EXPORTED_SYMBOL_FILE)
DEPENDS ${LIBCLANG_VERSION_SCRIPT_FILE})
endif()
-if(LLVM_ENABLE_PIC OR (WIN32 AND NOT LIBCLANG_BUILD_STATIC))
+if(LLVM_ENABLE_PIC OR ((WIN32 OR CYGWIN) AND NOT LIBCLANG_BUILD_STATIC))
----------------
mati865 wrote:
Oof, I missed that (I knew about PIC, just didn't connect these two) and needlessly rebuilt LLVM from scratch a couple of times when preparing the package for MSYS2.
This might warrant a separate PR though.
https://github.com/llvm/llvm-project/pull/134494
More information about the llvm-commits
mailing list