Arun Isaac writes: > You should be able to do this just using #:make-flags. See > https://www.gnu.org/software/make/manual/html_node/Overriding.html emacs-build-system seem to have no #:make-flags, I just use "make var1=var1 all" instead. the rest have been fixed, thanks! the below is new patch: