[compiler-rt] [compiler-rt] Correctly detect cross-compiling for adding flags (PR #138868)

Petr Hosek via llvm-commits llvm-commits at lists.llvm.org
Mon May 12 11:52:27 PDT 2025


https://github.com/petrhosek approved this pull request.

Note that `CMAKE_CROSSCOMPILING` has a slightly different semantics, specifically it's `TRUE` whenever `CMAKE_SYSTEM_NAME` was set manually. I'd prefer using `CMAKE_CROSSCOMPILING` but it may be a potentially breaking change.

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


More information about the llvm-commits mailing list