mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 14:30:50 -08:00
Add support for GCC compiler command-line options
* lisp/emacs-lisp/comp.el ('native-comp-compiler-options): New option.
* lisp/emacs-lisp/bytecomp.el (byte-compile-from-buffer): Add support
for new 'native-comp-compiler-options'.
* src/comp.c (Fcomp_native_compiler_options_effective_p): New function.
(add_compiler_options): New function.
(Fcomp__compile_ctxt_to_file): Call 'add_compiler_options'.
This commit is contained in:
parent
6eba633ead
commit
dea67939b6
3 changed files with 79 additions and 0 deletions
|
|
@ -2257,6 +2257,9 @@ With argument ARG, insert value in current buffer after the form."
|
|||
(push `(native-comp-speed . ,native-comp-speed) byte-native-qualities)
|
||||
(defvar native-comp-debug)
|
||||
(push `(native-comp-debug . ,native-comp-debug) byte-native-qualities)
|
||||
(defvar native-comp-compiler-options)
|
||||
(push `(native-comp-compiler-options . ,native-comp-compiler-options)
|
||||
byte-native-qualities)
|
||||
(defvar native-comp-driver-options)
|
||||
(push `(native-comp-driver-options . ,native-comp-driver-options)
|
||||
byte-native-qualities)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue