mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
Revert "Partial revert "gnu: bootstrap: %bootstrap-glibc: Also fix libm.so.""
This cleanup was reverted because it led to a world rebuild.
This reverts commit 126a2e8cb4
.
Change-Id: I5c862602c3722c787e0ed6deac55920007411fd5
This commit is contained in:
parent
e50f470fe6
commit
f189772fba
1 changed files with 5 additions and 8 deletions
|
@ -778,14 +778,11 @@ $out/bin/guile --version~%"
|
|||
(chmod "lib" #o755)
|
||||
|
||||
;; Patch linker scripts so they refer to the right file-names.
|
||||
,(if (target-hurd64?)
|
||||
'(substitute* '("lib/libc.so" "lib/libm.so")
|
||||
(("/[^ ]+/lib/(libc|libm|libh|ld)" _ prefix)
|
||||
(string-append out "/lib/" prefix)))
|
||||
'(substitute* "lib/libc.so"
|
||||
(("/[^ ]+/lib/(libc|ld)" _ prefix)
|
||||
(string-append out "/lib/" prefix))))
|
||||
#t))))))
|
||||
(substitute* ,(if (target-hurd64?)
|
||||
''("lib/libc.so" "lib/libm.so")
|
||||
"lib/libc.so")
|
||||
(("/[^ ]+/lib/(libc|libm|libh|ld)" _ prefix)
|
||||
(string-append out "/lib/" prefix)))))))))
|
||||
(inputs
|
||||
`(("tar" ,(bootstrap-executable "tar" (%current-system)))
|
||||
("xz" ,(bootstrap-executable "xz" (%current-system)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue