1diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
2index 2c9b79334b..50c6b5ac85 100644
3--- a/lisp/emacs-lisp/comp.el
4+++ b/lisp/emacs-lisp/comp.el
5@@ -178,8 +178,9 @@ native-comp-compiler-options
6 :type '(repeat string)
7 :version "28.1")
8
9-(defcustom native-comp-driver-options (when (eq system-type 'darwin)
10- '("-Wl,-w"))
11+(defcustom native-comp-driver-options (append (when (eq system-type 'darwin)
12+ '("-Wl,-w"))
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.
17--
182.37.3
19