gnu: llvm-17: Fix building on riscv64-linux.

* gnu/packages/llvm.scm (%llvm-patches): Add a patch for 17.0.6.
* gnu/packages/patches/clang-17.0-link-dsymutil-latomic.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: I9dfd23d2f0fb10620c4aa73a6480151d6e6daa9a
This commit is contained in:
Efraim Flashner 2024-03-13 17:30:56 +02:00
parent 7b5c030684
commit 4e26331a5e
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
3 changed files with 17 additions and 1 deletions

View file

@ -550,7 +550,8 @@ output), and Binutils.")
'(("14.0.6" . ("clang-14.0-libc-search-path.patch"))
("15.0.7" . ("clang-15.0-libc-search-path.patch"))
("16.0.6" . ("clang-16.0-libc-search-path.patch"))
("17.0.6" . ("clang-17.0-libc-search-path.patch"))))
("17.0.6" . ("clang-17.0-libc-search-path.patch"
"clang-17.0-link-dsymutil-latomic.patch"))))
(define (llvm-monorepo version)
(origin