emacs-devel
[Top][All Lists]
Advanced

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

Re: Speeding up the bootstrap build - a quick hack.


From: Robert Pluim
Subject: Re: Speeding up the bootstrap build - a quick hack.
Date: Tue, 18 Jan 2022 14:16:33 +0100

>>>>> On Tue, 18 Jan 2022 11:56:38 +0000, Alan Mackenzie <acm@muc.de> said:


    >> >  # An old-fashioned suffix rule, which, according to the GNU Make 
manual,
    >> >  # cannot have prerequisites.
    >> >  ifeq ($(HAVE_NATIVE_COMP),yes)
    >> > -.el.elc:
    >> > +.el.elc0:
    >> > +      $(AM_V_ELC)$(emacs) $(BYTE_COMPILE_FLAGS) \
    >> > +      --exec "(setq load-suffixes '(\".elc0\" \".el\"))" \
    >> > +      -f batch-byte-compile $<
    >> > +      mv $<c $@

I think this would be far cleaner and less fragile if you used an
order-only prerequisite instead of inventing new suffixes.

Robert
-- 



reply via email to

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