[llvm] [LLVM][Cygwin] Define _GNU_SOURCE on Cygwin as well. (PR #138329)

via llvm-commits llvm-commits at lists.llvm.org
Mon May 5 10:02:52 PDT 2025


jeremyd2019 wrote:

also, `llvm-config --cppflags` contains it

Perhaps it needs to explicitly add `LLVM_DEFINITONS` to `add_definitions` and `CMAKE_REQUIRED_DEFINITIONS`?

https://github.com/llvm/llvm-project/pull/138329


More information about the llvm-commits mailing list