mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-18 00:20:30 +00:00
Increase stack size to 128k and guard size to 16k
This improves our compatibility with Apple M1.
This commit is contained in:
parent
57c0dcdc29
commit
dd04aeba1c
36 changed files with 109 additions and 125 deletions
7
third_party/zip/zip.mk
vendored
7
third_party/zip/zip.mk
vendored
|
@ -162,13 +162,6 @@ o/$(MODE)/third_party/zip/zipup.o: private \
|
|||
-DZIP64_SUPPORT \
|
||||
-DBZIP2_SUPPORT
|
||||
|
||||
o/$(MODE)/third_party/zip/zip.o \
|
||||
o/$(MODE)/third_party/zip/zipsplit.o \
|
||||
o/$(MODE)/third_party/zip/fileio.o \
|
||||
o/$(MODE)/third_party/zip/fileio_.o: private \
|
||||
OVERRIDE_CPPFLAGS += \
|
||||
-DSTACK_FRAME_UNLIMITED
|
||||
|
||||
.PHONY: o/$(MODE)/third_party/zip
|
||||
o/$(MODE)/third_party/zip: \
|
||||
$(THIRD_PARTY_ZIP_BINS) \
|
||||
|
|
3
third_party/zip/zipup.c
vendored
3
third_party/zip/zipup.c
vendored
|
@ -48,6 +48,9 @@
|
|||
// MISSING #include "os2/os2zip.h"
|
||||
#endif
|
||||
|
||||
#undef PAGESIZE
|
||||
#define PAGESIZE FRAMESIZE
|
||||
|
||||
#if defined(MMAP)
|
||||
#include "libc/calls/calls.h"
|
||||
#include "libc/calls/weirdtypes.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue