mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-07 02:10:27 +00:00
make.com now uses stack size of 2mb
This commit is contained in:
parent
903cc38c37
commit
10b041c645
2 changed files with 3 additions and 1 deletions
2
third_party/make/lib/xalloc-die.c
vendored
2
third_party/make/lib/xalloc-die.c
vendored
|
@ -25,7 +25,7 @@
|
||||||
#include "third_party/make/lib/error.h"
|
#include "third_party/make/lib/error.h"
|
||||||
#include "third_party/make/lib/exitfail.h"
|
#include "third_party/make/lib/exitfail.h"
|
||||||
|
|
||||||
#include "third_party/make/src/gettext.h"
|
#include "third_party/make/lib/gettext.h"
|
||||||
#define _(msgid) gettext (msgid)
|
#define _(msgid) gettext (msgid)
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
2
third_party/make/src/main.c
vendored
2
third_party/make/src/main.c
vendored
|
@ -26,6 +26,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
#include "third_party/make/src/getopt.h"
|
#include "third_party/make/src/getopt.h"
|
||||||
|
|
||||||
#include "libc/sysv/consts/sa.h"
|
#include "libc/sysv/consts/sa.h"
|
||||||
|
#include "libc/runtime/stack.h"
|
||||||
#include "third_party/gdtoa/gdtoa.h"
|
#include "third_party/gdtoa/gdtoa.h"
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
@ -1057,6 +1058,7 @@ int
|
||||||
main (int argc, char **argv, char **envp)
|
main (int argc, char **argv, char **envp)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
STATIC_STACK_SIZE(0x00200000); // 2mb stack
|
||||||
static char *stdin_nm = 0;
|
static char *stdin_nm = 0;
|
||||||
int makefile_status = MAKE_SUCCESS;
|
int makefile_status = MAKE_SUCCESS;
|
||||||
struct goaldep *read_files;
|
struct goaldep *read_files;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue