From: Andrea Corallo Date: Tue, 17 Aug 2021 21:44:12 +0000 (+0200) Subject: * Fix `native-compile-target-directory' effectiveness for async compilation. X-Git-Tag: emacs-28.0.90~1460 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7fa5dec86e78242d0868fb7e5161fe16a416be15;p=emacs.git * Fix `native-compile-target-directory' effectiveness for async compilation. * lisp/emacs-lisp/comp.el (comp-run-async-workers): Forward to async workers `native-compile-target-directory'. --- diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index ed75bf2bfa9..7bbe63c3e15 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -3918,7 +3918,8 @@ display a message." do (let* ((expr `((require 'comp) ,(when (boundp 'backtrace-line-length) `(setf backtrace-line-length ,backtrace-line-length)) - (setf native-comp-speed ,native-comp-speed + (setf native-compile-target-directory ,native-compile-target-directory + native-comp-speed ,native-comp-speed native-comp-debug ,native-comp-debug native-comp-verbose ,native-comp-verbose comp-libgccjit-reproducer ,comp-libgccjit-reproducer