]> git.eshelyaron.com Git - emacs.git/commitdiff
* Fix `native-compile-target-directory' effectiveness for async compilation.
authorAndrea Corallo <akrl@sdf.org>
Tue, 17 Aug 2021 21:44:12 +0000 (23:44 +0200)
committerAndrea Corallo <akrl@sdf.org>
Tue, 17 Aug 2021 21:47:05 +0000 (23:47 +0200)
* lisp/emacs-lisp/comp.el (comp-run-async-workers): Forward to async
workers `native-compile-target-directory'.

lisp/emacs-lisp/comp.el

index ed75bf2bfa913e7bf86e3b9641c76e69aa0ae2ff..7bbe63c3e15c7b31737be96415f82ec9d8898470 100644 (file)
@@ -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