Message ID | 22c1259428c04d43007a291a7bca36f7e1c6ccec.1687425321.git.efraim@flashner.co.il |
---|---|
State | New |
Headers | show |
Series | build ldc with llvm-15 | expand |
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index 9764552a62..d36a95879a 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -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