File suse-native-comp-driver-options.patch of Package bleeding-emacs
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index d0234a81aa..73a0fbd587 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -178,8 +178,7 @@ and above."
:type '(repeat string)
:version "28.1")
-(defcustom native-comp-driver-options (when (eq system-type 'darwin)
- '("-Wl,-w"))
+(defcustom native-comp-driver-options '("-B/usr/lib64" "-B/usr/lib64/gcc/x86_64-suse-linux/11")
"Options passed verbatim to the native compiler's back-end driver.
Note that not all options are meaningful; typically only the options
affecting the assembler and linker are likely to be useful.