mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
Partial revert "gnu: bootstrap: %bootstrap-glibc: Also fix libm.so."
This partially reverts commit 204fe1b1f0
.
This part accidentally triggered a world rebuild for non-x86 architectures.
Change-Id: I921984ef5eff58792ffc17b64675db6a8e79695c
This commit is contained in:
parent
7b64a96326
commit
126a2e8cb4
1 changed files with 8 additions and 5 deletions
|
@ -775,11 +775,14 @@ (define %bootstrap-glibc
|
|||
(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")
|
||||
,(if (target-hurd64?)
|
||||
'(substitute* '("lib/libc.so" "lib/libm.so")
|
||||
(("/[^ ]+/lib/(libc|libm|libh|ld)" _ prefix)
|
||||
(string-append out "/lib/" prefix)))))))))
|
||||
(string-append out "/lib/" prefix)))
|
||||
'(substitute* "lib/libc.so"
|
||||
(("/[^ ]+/lib/(libc|ld)" _ prefix)
|
||||
(string-append out "/lib/" prefix))))
|
||||
#t))))))
|
||||
(inputs
|
||||
`(("tar" ,(bootstrap-executable "tar" (%current-system)))
|
||||
("xz" ,(bootstrap-executable "xz" (%current-system)))
|
||||
|
|
Loading…
Reference in a new issue