summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2023-05-10 13:50:51 +0200
committerAndrea Corallo <akrl@sdf.org>2023-05-17 15:13:17 +0200
commit1e57b2b4c79ada7592c0a7e3f700e7c30dd76a4b (patch)
tree9f23d29e25672557b5f80c5cfc778098822c3634 /lisp/emacs-lisp
parentb5bfd808c6b40f47fdef8eb9986bc3127ca63c12 (diff)
downloademacs-1e57b2b4c79ada7592c0a7e3f700e7c30dd76a4b.tar.gz
emacs-1e57b2b4c79ada7592c0a7e3f700e7c30dd76a4b.tar.bz2
emacs-1e57b2b4c79ada7592c0a7e3f700e7c30dd76a4b.zip
* Account for `byte-compile-warnings' during native compilation (bug#63302).
* lisp/emacs-lisp/comp.el (comp-final, comp-run-async-workers): Forward `byte-compile-warnings' to child processes.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/comp.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index e97832455b9..8f40f2f40a0 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -3724,6 +3724,7 @@ Prepare every function for final compilation and drive the C back-end."
',native-comp-compiler-options
native-comp-driver-options
',native-comp-driver-options
+ byte-compile-warnings ',byte-compile-warnings
load-path ',load-path)
,native-comp-async-env-modifier-form
(message "Compiling %s..." ',output)
@@ -3996,6 +3997,7 @@ display a message."
native-comp-driver-options
load-path
backtrace-line-length
+ byte-compile-warnings
;; package-load-list
;; package-user-dir
;; package-directory-list