mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-07 01:35:52 +02:00
gnu: bootstrap: %bootstrap-glibc: Patch more files.
* gnu/packages/bootstrap.scm (%bootstrap-glibc)[arguments]: When building for x86* or arm* architectures also patch libpthread.so. Change-Id: Ief0c78444bbde5c4a1849daa53e13dc3b154b1ed
This commit is contained in:
committed by
Andreas Enge
parent
a1e9e7f3ef
commit
6387efbd37
@@ -778,10 +778,14 @@ $out/bin/guile --version~%"
|
||||
(chmod "lib" #o755)
|
||||
|
||||
;; Patch linker scripts so they refer to the right file-names.
|
||||
(substitute* ,(if (target-hurd64?)
|
||||
''("lib/libc.so" "lib/libm.so")
|
||||
"lib/libc.so")
|
||||
(("/[^ ]+/lib/(libc|libm|libh|ld)" _ prefix)
|
||||
(substitute* ,(cond ((target-hurd64?)
|
||||
''("lib/libc.so" "lib/libm.so"))
|
||||
((or (target-x86?)
|
||||
(target-arm?))
|
||||
''("lib/libc.so" "lib/libpthread.so"))
|
||||
(else
|
||||
''("lib/libc.so")))
|
||||
(("/[^ ]+/lib/(libc|libm|libh|libpthread|ld)" _ prefix)
|
||||
(string-append out "/lib/" prefix)))))))))
|
||||
(inputs
|
||||
`(("tar" ,(bootstrap-executable "tar" (%current-system)))
|
||||
|
||||
Reference in New Issue
Block a user