From dbdc44db15ef9daa24d92c59d4e158f3963a172f Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Sun, 7 Mar 2021 20:19:20 +0100 Subject: Allow for `comp-native-driver-options' to work as a file-local variable. --- lisp/emacs-lisp/comp.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lisp/emacs-lisp/comp.el') diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 70e10644ca8..cedbb786237 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -712,6 +712,8 @@ Returns ELT." :documentation "Default speed for this compilation unit.") (debug comp-debug :type number :documentation "Default debug level for this compilation unit.") + (driver-options comp-native-driver-options :type list + :documentation "Options for the GCC driver.") (top-level-forms () :type list :documentation "List of spilled top level forms.") (funcs-h (make-hash-table :test #'equal) :type hash-table @@ -1298,6 +1300,8 @@ clashes." byte-native-qualities) (comp-ctxt-debug comp-ctxt) (alist-get 'comp-debug byte-native-qualities) + (comp-ctxt-driver-options comp-ctxt) (alist-get 'comp-native-driver-options + byte-native-qualities) (comp-ctxt-top-level-forms comp-ctxt) (cl-loop for form in (reverse byte-to-native-top-level-forms) -- cgit v1.2.3