================ @@ -299,6 +310,18 @@ elseif (FLANG_RT_GCC_RESOURCE_DIR) endif () endif () + + +if (CMAKE_C_BYTE_ORDER STREQUAL "BIG_ENDIAN") ---------------- jhuber6 wrote:
I was hoping I got rid of needing to detect endianness in CMake, since it makes cross-compiling a pain. Not eager to see it back. https://github.com/llvm/llvm-project/pull/137828 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits