diff options
author | Josselin Poiret <dev@jpoiret.xyz> | 2024-03-08 13:02:49 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-08-31 10:44:55 +0200 |
commit | 04a92e730e10faae396db01326553afe694855af (patch) | |
tree | ceeeb3154b37ce5831c3407dbc6db3133bca640a /gnu/packages/llvm.scm | |
parent | 7e30cd7a74c20d564473b62e445f6dd314b2e854 (diff) | |
download | guix-04a92e730e10faae396db01326553afe694855af.tar guix-04a92e730e10faae396db01326553afe694855af.tar.gz |
gnu: clang: Fix build with libcrypt-less glibc.
* gnu/packages/patches/clang-13-remove-crypt-interceptors.patch
* gnu/packages/patches/clang-14-remove-crypt-interceptors.patch
* gnu/packages/patches/clang-16-remove-crypt-interceptors.patch: New patches.
* gnu/local.mk (dist_patch_DATA): Register them.
* gnu/packages/llvm.scm (%llvm-patches, clang-runtime-13): Use them.
Change-Id: Idcc82313f1a39710aa91fb577144321372a3af47
Diffstat (limited to 'gnu/packages/llvm.scm')
-rw-r--r-- | gnu/packages/llvm.scm | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index 0f3ebdbff0..e0ab789321 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -549,9 +549,12 @@ output), and Binutils.") (define %llvm-patches '(("14.0.6" . ("clang-14.0-libc-search-path.patch" - "clang-runtime-14-glibc-2.36-compat.patch")) - ("15.0.7" . ("clang-15.0-libc-search-path.patch")) - ("16.0.6" . ("clang-16.0-libc-search-path.patch")) + "clang-runtime-14-glibc-2.36-compat.patch" + "clang-14-remove-crypt-interceptors.patch")) + ("15.0.7" . ("clang-15.0-libc-search-path.patch" + "clang-16-remove-crypt-interceptors.patch")) + ("16.0.6" . ("clang-16.0-libc-search-path.patch" + "clang-16-remove-crypt-interceptors.patch")) ("17.0.6" . ("clang-17.0-libc-search-path.patch" "clang-17.0-link-dsymutil-latomic.patch")) ("18.1.8" . ("clang-18.0-libc-search-path.patch" @@ -814,7 +817,8 @@ Library.") (clang-runtime-from-llvm llvm-13 "1z2xr9nn4mgc3hn9ark2k5y4wznpk47xppkp63bcbagr6589acvv" - '("clang-runtime-13-glibc-2.36-compat.patch"))) + '("clang-runtime-13-glibc-2.36-compat.patch" + "clang-13-remove-crypt-interceptors.patch"))) (define-public clang-13 (clang-from-llvm llvm-13 clang-runtime-13 |