bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11707: 24.1.50; 'make recompile' does not use BYTE_COMPILE_FLAGS on


From: Kazuhiro Ito
Subject: bug#11707: 24.1.50; 'make recompile' does not use BYTE_COMPILE_FLAGS on Windows
Date: Thu, 14 Jun 2012 20:16:42 +0900
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Goj┼Ź) APEL/10.8 EasyPG/1.0.0 Emacs/24.1.50 (i386-mingw-nt6.1.7601) MULE/6.0 (HANACHIRUSATO)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]