diff options
author | Christian Pfeiffer <cpfeiffer@live.de> | 2017-03-27 17:04:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-03-27 17:42:19 (GMT) |
commit | 92fe00d33cb029a583de20a16e5bc17bd337ed57 (patch) | |
tree | ad58c901f5a9ea687d43dae33c52b8068003f405 /Modules/CMakeCCompilerId.c.in | |
parent | 1adbe223cd10ee133f5137da028ed86ddef7cc4d (diff) | |
download | CMake-92fe00d33cb029a583de20a16e5bc17bd337ed57.zip CMake-92fe00d33cb029a583de20a16e5bc17bd337ed57.tar.gz CMake-92fe00d33cb029a583de20a16e5bc17bd337ed57.tar.bz2 |
Ninja: Fix command line limit when sysconf has no ARG_MAX
The `sysconf(3)` manual explains that the return value can be `-1` for
limits if there is no definite limit. Recognize this case and skip
using the value as a limit candidate. Otherwise we use response files
unconditionally on such systems instead of checking other limits.
Fixes: #16740
Diffstat (limited to 'Modules/CMakeCCompilerId.c.in')
0 files changed, 0 insertions, 0 deletions