unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#11707: 24.1.50; 'make recompile' does not use BYTE_COMPILE_FLAGS on Windows
@ 2012-06-14 11:16 Kazuhiro Ito
  2012-06-14 16:27 ` Eli Zaretskii
  0 siblings, 1 reply; 16+ messages in thread
From: Kazuhiro Ito @ 2012-06-14 11:16 UTC (permalink / raw)
  To: 11707

When I 'make recompile' on Windows, Emacs outputs many "Lisp nesting
exceeds `max-lisp-eval-depth'" message.

The cause of the problem is that lisp/makefile.w32-in does not use
BYTE_COMPILE_FLAGS variable when recompile.  On the other hand,
lisp/Makefile.in use it.

Please see the below patch.

=== modified file 'lisp/makefile.w32-in'
--- lisp/makefile.w32-in	2012-06-09 11:53:31 +0000
+++ lisp/makefile.w32-in	2012-06-14 00:18:51 +0000
@@ -396,7 +396,7 @@
 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
 #          this can break with GNU Make 3.81 and later if sh.exe is used.
 recompile: compile-first autoloads doit $(lisp)/progmodes/cc-mode.elc
-	$(emacs) --eval $(ARGQUOTE)(batch-byte-recompile-directory 0)$(ARGQUOTE) $(lisp)
+	$(emacs) $(BYTE_COMPILE_FLAGS) --eval $(ARGQUOTE)(batch-byte-recompile-directory 0)$(ARGQUOTE) $(lisp)
 
 $(lisp)/calendar/cal-loaddefs.el:
 	"$(EMACS)" $(EMACSOPT) -l autoload \


-- 
Kazuhiro Ito





^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2013-12-18 21:40 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-14 11:16 bug#11707: 24.1.50; 'make recompile' does not use BYTE_COMPILE_FLAGS on Windows Kazuhiro Ito
2012-06-14 16:27 ` Eli Zaretskii
2012-06-15 16:41   ` Kazuhiro Ito
2012-06-15 17:41     ` Eli Zaretskii
2012-06-18 12:56       ` Kazuhiro Ito
2012-06-25  1:10       ` Glenn Morris
2012-06-25 11:35         ` Juanma Barranquero
2012-06-26 16:28           ` Glenn Morris
2012-06-26 17:08             ` Eli Zaretskii
2012-06-28 17:30               ` Glenn Morris
2012-06-28 18:15                 ` Eli Zaretskii
2012-06-25 14:35         ` Stefan Monnier
2012-06-28 17:34           ` Glenn Morris
2012-06-28 18:11             ` Stefan Monnier
2012-07-06  7:44           ` Glenn Morris
2013-12-18 21:40             ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).