--- Begin Message ---
Subject: |
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
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#11707: 24.1.50; 'make recompile' does not use BYTE_COMPILE_FLAGS on Windows |
Date: |
Wed, 18 Dec 2013 16:40:09 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Version: 24.4
Since MS Windows now uses the same Makefiles as every other platform,
not the makefile.w32-in files, this issue no longer applies.
--- End Message ---