]> granicus.if.org Git - llvm/commit
[CMake] Define _FILE_OFFSET_BITS=64 on Solaris
authorRainer Orth <ro@gcc.gnu.org>
Tue, 30 Jul 2019 10:33:20 +0000 (10:33 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Tue, 30 Jul 2019 10:33:20 +0000 (10:33 +0000)
commitac2843934b012f62044a292966bbed43c2b19310
treef7330949aec9d0ddc9e077eb22d8774a29725f56
parentfa9636b9348da3b5148d511bc73fe0ad3d3019ec
[CMake] Define _FILE_OFFSET_BITS=64 on Solaris

This is the compantion patch to https://reviews.llvm.org/D64482, needed to ensure
that builds with host compilers that don't yet predefine _FILE_OFFSET_BITS=64 on
Solaris succeed by always making the host and freshly built clang consistent.

Tested on x86_64-pc-solaris2.11.

Differential Revision: https://reviews.llvm.org/D64483

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367304 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt
cmake/config-ix.cmake