llvm15/lld-default-sha1.patch
Aaron Puchert 5435029fbe - Add patches, to actually fix the build with Python 3.13:
* libcxx-use-shlex-quote.patch
  * libcxx-remove-unused-imports.patch
  * lldb-support-python-3.13.patch
  * use-shlex-quote.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=44
2025-03-06 23:47:08 +00:00

14 lines
665 B
Diff

Index: lld-15.0.0rc2.src/ELF/Options.td
===================================================================
--- lld-15.0.0rc2.src.orig/ELF/Options.td
+++ lld-15.0.0rc2.src/ELF/Options.td
@@ -52,7 +52,7 @@ def Bstatic: F<"Bstatic">, HelpText<"Do
def build_id: J<"build-id=">, HelpText<"Generate build ID note">,
MetaVarName<"[fast,md5,sha1,uuid,0x<hexstring>]">;
-def : F<"build-id">, Alias<build_id>, AliasArgs<["fast"]>, HelpText<"Alias for --build-id=fast">;
+def : F<"build-id">, Alias<build_id>, AliasArgs<["sha1"]>, HelpText<"Alias for --build-id=sha1">;
defm check_sections: B<"check-sections",
"Check section addresses for overlaps (default)",