Skip to content

Commit ab9439b

Browse files
committed
clean 05
1 parent 0d074bb commit ab9439b

File tree

1 file changed

+1
-42
lines changed

1 file changed

+1
-42
lines changed

contrib/guix/manifest.scm

+1-42
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ chain for " target " development."))
9090
#:key
9191
(base-gcc-for-libc linux-base-gcc)
9292
(base-kernel-headers base-linux-kernel-headers)
93-
(base-libc glibc-2.31)
93+
(base-libc glibc)
9494
(base-gcc linux-base-gcc))
9595
"Convenience wrapper around MAKE-CROSS-TOOLCHAIN with default values
9696
desirable for building Bitcoin Core release binaries."
@@ -127,47 +127,6 @@ desirable for building Bitcoin Core release binaries."
127127
(("-rpath=") "-rpath-link="))
128128
#t))))))))
129129

130-
(define-public glibc-2.31
131-
(let ((commit "7b27c450c34563a28e634cccb399cd415e71ebfe"))
132-
(package
133-
(inherit glibc) ;; 2.35
134-
(version "2.31")
135-
(source (origin
136-
(method git-fetch)
137-
(uri (git-reference
138-
(url "https://sourceware.org/git/glibc.git")
139-
(commit commit)))
140-
(file-name (git-file-name "glibc" commit))
141-
(sha256
142-
(base32
143-
"017qdpr5id7ddb4lpkzj2li1abvw916m3fc6n7nw28z4h5qbv2n0"))
144-
(patches (search-our-patches "glibc-guix-prefix.patch"))))
145-
(arguments
146-
(substitute-keyword-arguments (package-arguments glibc)
147-
((#:configure-flags flags)
148-
`(append ,flags
149-
;; https://www.gnu.org/software/libc/manual/html_node/Configuring-and-compiling.html
150-
(list "--enable-stack-protector=all",
151-
"--enable-cet",
152-
"--enable-bind-now",
153-
"--disable-werror",
154-
"--disable-timezone-tools",
155-
"--disable-profile",
156-
building-on)))
157-
((#:phases phases)
158-
`(modify-phases ,phases
159-
(add-before 'configure 'set-etc-rpc-installation-directory
160-
(lambda* (#:key outputs #:allow-other-keys)
161-
;; Install the rpc data base file under `$out/etc/rpc'.
162-
;; Otherwise build will fail with "Permission denied."
163-
;; Can be removed when we are building 2.32 or later.
164-
(let ((out (assoc-ref outputs "out")))
165-
(substitute* "sunrpc/Makefile"
166-
(("^\\$\\(inst_sysconfdir\\)/rpc(.*)$" _ suffix)
167-
(string-append out "/etc/rpc" suffix "\n"))
168-
(("^install-others =.*$")
169-
(string-append "install-others = " out "/etc/rpc\n")))))))))))))
170-
171130
(packages->manifest
172131
(append
173132
(list ;; The Basics

0 commit comments

Comments
 (0)