Message ID | 20241119072659.12073-1-ngraves@ngraves.fr |
---|---|
State | New |
Headers | show |
Series | [bug#74433] gnu: clang-runtime: Fix build for versions 10 and 11. | expand |
Nicolas Graves via Guix-patches via <guix-patches@gnu.org> writes: > * gnu/packages/llvm.scm (clang-runtime-from-llvm)[inputs]: Add > libxcrypt for versions 10 and 11. > --- > gnu/packages/llvm.scm | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm > index c6566a3339..e2b8b689ba 100644 > --- a/gnu/packages/llvm.scm > +++ b/gnu/packages/llvm.scm > @@ -170,6 +170,9 @@ (define* (clang-runtime-from-llvm llvm > (list llvm) > (if (version>=? version "15") > (list libffi) > + '()) > + (if (member (version-major version) (list "10" "11")) > + (list libxcrypt) > '()))) > (arguments > `(;; Don't use '-g' during the build to save space. pushed, closing.
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index c6566a3339..e2b8b689ba 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -170,6 +170,9 @@ (define* (clang-runtime-from-llvm llvm (list llvm) (if (version>=? version "15") (list libffi) + '()) + (if (member (version-major version) (list "10" "11")) + (list libxcrypt) '()))) (arguments `(;; Don't use '-g' during the build to save space.