mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 12:31:25 +00:00
Fix NS unexec build
* nextstep/Makefile.in (all): Only build Emacs.pdmp on pdumper builds. * src/sheap.h: Make STATIC_HEAP_SIZE bigger, otherwise I get: static heap exhausted: avail 67108864 used 67101824 failed request 20480
This commit is contained in:
parent
b7f227ed8b
commit
3d6af11c42
2 changed files with 6 additions and 2 deletions
|
|
@ -45,7 +45,11 @@ ns_check_file = @ns_appdir@/@ns_check_file@
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
|
|
||||||
all: ${ns_appdir} ${ns_appbindir}/Emacs ${ns_applibexecdir}/Emacs.pdmp
|
ifeq ($(DUMPING),pdumper)
|
||||||
|
ns_pdump_target = ${ns_applibexecdir}/Emacs.pdmp
|
||||||
|
endif
|
||||||
|
|
||||||
|
all: ${ns_appdir} ${ns_appbindir}/Emacs ${ns_pdmp_target}
|
||||||
|
|
||||||
${ns_check_file}: ${ns_appdir}
|
${ns_check_file}: ${ns_appdir}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
/* Size of the static heap. Guess a value that is probably too large,
|
/* Size of the static heap. Guess a value that is probably too large,
|
||||||
by up to a factor of four or so. Typically the unused part is not
|
by up to a factor of four or so. Typically the unused part is not
|
||||||
paged in and so does not cost much. */
|
paged in and so does not cost much. */
|
||||||
enum { STATIC_HEAP_SIZE = sizeof (Lisp_Object) << 23 };
|
enum { STATIC_HEAP_SIZE = sizeof (Lisp_Object) << 24 };
|
||||||
|
|
||||||
extern char bss_sbrk_buffer[STATIC_HEAP_SIZE];
|
extern char bss_sbrk_buffer[STATIC_HEAP_SIZE];
|
||||||
extern char *max_bss_sbrk_ptr;
|
extern char *max_bss_sbrk_ptr;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue