Development
To resolve the “make[5]: /bin/sh: Argument list too long” error
chanbae
2024. 11. 14. 04:37
The “Argument list too long” error occurs when the command line arguments exceed the system’s limit. This often happens during the build process when too many files or options are passed to a command.
There are several ways to resolve this issue, but one method involves increasing the argument limit on a Linux system.
On Linux, you can increase the limit by adding the following two lines at the very end of /etc/security/limits.conf, then rebooting the system:
* hard stack 65536
* soft stack 65536