-- 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
Details
Details
- Reviewers
MaskRay - Commits
- rGb446c6dfcf42: cmake: set _LARGEFILE_SOURCE=1 to fix a cmake error
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
-D_LARGEFILE_SOURCE was from the commit 7684d05d95b9369fa0454b525093ed04ee91b1e1 (May 2019). I assume that it used to work, but some changes to test_target_arch made it break?
Anyway, since -D_LARGEFILE_SOURCE=1 (less common) is identical to -D_LARGEFILE_SOURCE (more common), this should be fine.