[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#53609] [PATCH v2 3/4] gnu: Add glibc-2.2.5.
From: |
Ricardo Wurmus |
Subject: |
[bug#53609] [PATCH v2 3/4] gnu: Add glibc-2.2.5. |
Date: |
Sat, 5 Feb 2022 01:08:22 +0100 |
* gnu/packages/commencement.scm (glibc-2.2.5): New variable.
---
gnu/packages/commencement.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 6bbadff796..4f10b22e78 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -3471,6 +3471,30 @@ (define glibc-final
,@(package-outputs glibc-final-with-bootstrap-bash))
,@(package-arguments glibc-final-with-bootstrap-bash)))))
+(define glibc-2.2.5
+ (package/inherit
+ glibc-mesboot0
+ (arguments
+ (substitute-keyword-arguments (package-arguments glibc-mesboot0)
+ ((#:configure-flags flags '())
+ #~(let ((out (assoc-ref %outputs "out"))
+ (headers (assoc-ref %build-inputs "kernel-headers")))
+ `("--enable-shared"
+ "--enable-static"
+ "--disable-sanity-checks"
+ "--build=i686-unknown-linux-gnu"
+ "--host=i686-unknown-linux-gnu"
+ ,(string-append "--with-headers=" headers "/include")
+ "--enable-static-nss"
+ "--without-__thread"
+ "--without-cvs"
+ "--without-gd"
+ "--without-tls"
+ ,(string-append "--prefix=" out))))))
+ (propagated-inputs `(("kernel-headers" ,linux-libre-headers)))
+ (native-inputs
+ (alist-delete "kernel-headers" (%boot-mesboot1-inputs)))))
+
(define/system-dependent gcc-boot0-wrapped
;; Make the cross-tools GCC-BOOT0 and BINUTILS-BOOT0 available under the
;; non-cross names.
--
2.34.0