1diff -Naur a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
2--- old/lisp/emacs-lisp/comp.el 1969-12-31 21:00:01.000000000 -0300
3+++ source/lisp/emacs-lisp/comp.el 2024-09-13 14:26:37.246614196 -0300
4@@ -101,8 +101,10 @@
5 :version "28.1")
6
7 (defcustom native-comp-driver-options
8- (cond ((eq system-type 'darwin) '("-Wl,-w"))
9- ((eq system-type 'cygwin) '("-Wl,-dynamicbase")))
10+ (append
11+ (cond ((eq system-type 'darwin) '("-Wl,-w"))
12+ ((eq system-type 'cygwin) '("-Wl,-dynamicbase")))
13+ '(@backendPath@))
14 "Options passed verbatim to the native compiler's back-end driver.
15 Note that not all options are meaningful; typically only the options
16 affecting the assembler and linker are likely to be useful.