[bug#64218,3/7] gnu: clang-15: Fix building on i686-linux.
Commit Message
* gnu/packages/llvm.scm (clang-from-llvm)[arguments]: When building at
least version 15 for i686-linux skip the 'make-dynamic-linker-cache
phase.
---
gnu/packages/llvm.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
@@ -408,7 +408,11 @@ (define* (clang-from-llvm llvm clang-runtime
(mkdir-p compl-dir)
(rename-file "bash-autocomplete.sh"
(string-append compl-dir "/clang")))))
- #t)))))
+ #t))
+ ;; GC Warning: Out of Memory! Heap size: 3636 MiB. Returning NULL!
+ ,@(if (and (version>? version "15") (target-x86-32?))
+ `((delete 'make-dynamic-linker-cache))
+ '()))))
;; Clang supports the same environment variables as GCC.
(native-search-paths