]> git.eshelyaron.com Git - emacs.git/commit
Pass driver options to libgccjit where supported
authorAndreas Fuchs <asf@boinkor.net>
Sat, 8 Aug 2020 20:22:43 +0000 (16:22 -0400)
committerAndrea Corallo <akrl@sdf.org>
Wed, 19 Aug 2020 15:12:21 +0000 (17:12 +0200)
commitbec2adebc6a5c4984d52ea7e66a7a3632e7dc578
tree6376d4f50fa151be5601d1ef16d800df1d4bf3ec
parent8a931a97b8dd19a38d6f719f810280a07ba76438
Pass driver options to libgccjit where supported

Add a customizable variable for driver options (such as linker flags)
to pass to libgccjit (Bug #42761).

* lisp/emacs-lisp/comp.el (comp-native-driver-options): New
customization variable.
* src/comp.c: Use comp-native-driver-options to set libgccjit's driver
options, if supported on the library's ABI version.
lisp/emacs-lisp/comp.el
src/comp.c