Subject: bug#78783: 30.1.50; AOT-compiling site-lisp during the Emacs build doesn't work

From: Eli Zaretskii <[email-masked]>
Date: Fri, 13 Jun 2025 17:58:54 +0300

severity 78783 wishlist
thanks

> Cc: Andrea Corallo <[email-masked]>, [email-masked]
> Date: Fri, 13 Jun 2025 09:34:10 -0400
> From:  Spencer Baugh via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <[email-masked]>
> 
> 
> Native compilation of site-lisp directories during the Emacs build
> (e.g. --with-native-compilation=aot) produces .eln files which are
> unused when installed.

Why are you compiling files in site-lisp during the build?  This is
not supported, and I see no reason why we should extend our build
processes to support it.

Why cannot you compile site-lisp files after Emacs is built and
installed?