[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)
commit8d3c740f26b1122a60e1ad21576f152013535708
tree8b578e1d26348d088b820134dccf79c506969637
parent38496d5bd9a00af51bebd6edb22b9ec7231cd5ba
[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

llvm-svn: 367304
llvm/CMakeLists.txt
llvm/cmake/config-ix.cmake