[PATCH] D64483: [CMake] Define _FILE_OFFSET_BITS=64 on Solaris

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 30 03:38:50 PDT 2019


MaskRay added inline comments.


================
Comment at: llvm/trunk/CMakeLists.txt:837
+# Build with _FILE_OFFSET_BITS=64 on Solaris to match g++ >= 9.
+if (UNIX AND ${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
+          add_definitions("-D_FILE_OFFSET_BITS=64")
----------------
Doesn't `${CMAKE_SYSTEM_NAME} MATCHES "SunOS"` imply `UNIX`?


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64483/new/

https://reviews.llvm.org/D64483





More information about the llvm-commits mailing list