cmake: set _LARGEFILE_SOURCE=1 to fix a cmake error
authorSylvestre Ledru <sylvestre@debian.org>
Sun, 16 Jul 2023 21:06:01 +0000 (23:06 +0200)
committerSylvestre Ledru <sylvestre@debian.org>
Mon, 17 Jul 2023 07:59:56 +0000 (09:59 +0200)
commitb446c6dfcf42f39c7f1fce204ccb51e9dcd89046
treed8709f55824ea3e64fd613e3e67b881fc7708cf8
parentcc006acdd6d7280a85c63fe375a4c9d1738e3fcd
cmake: set _LARGEFILE_SOURCE=1 to fix a cmake error

```
-- Performing additional configure checks with target flags: -mips32r2;-mabi=32;-D_LARGEFILE_SOURCE;-D_FILE_OFFSET_BITS=64
-- Performing Test COMPILER_RT_HAS_mips_FLOAT16
CMake Error: Parse error in command line argument: _LARGEFILE_SOURCE
 Should be: VAR:type=value
```
See: https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-16&arch=mips64el&ver=1%3A16.0.6-4&stamp=1689111818&raw=0

Differential Revision: https://reviews.llvm.org/D155409
compiler-rt/cmake/base-config-ix.cmake
compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt