mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 09:21:57 -05:00
25365e2890
Linking liblagom-web.so produces a ~132K long command line. Ninja passes the whole command line as a single arg to `sh -c <arg>`, and the limit for single arguments (`MAX_ARG_STRLEN`) on Linux is `PAGE_SIZE * 32` == 128K. A response file passes the list of files in a file on disk, which lets us sidestep this problem. Ninja writes response files before invoking commands, and deletes them after (unless `-d keeprsp` is passed to ninja, then it keeps them on disk). |
||
---|---|---|
.. | ||
libs | ||
mac | ||
toolchain | ||
BUILD.gn | ||
BUILDCONFIG.gn | ||
buildflags.gni | ||
compiled_action.gni | ||
download_cache.gni | ||
download_file.gni | ||
embed_as_string.gni | ||
extract_archive_contents.gni | ||
extract_archive_contents.py | ||
invoke_process_with_args.py | ||
mac_sdk.gni | ||
run_compiled_binary.py | ||
serenity_target.gni | ||
sysroot.gni | ||
write_cmake_config.gni | ||
write_cmake_config.py |