mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 06:46:50 +01:00
gnu: bootstrap: %bootstrap-glibc: Fix linking on armhf-linux.
* gnu/packages/bootstrap.scm (%bootstrap-glibc)[arguments]: When building for armhf-linux remove a reference to a non-existent library. Change-Id: I587ba7a40eb05b354e4a11d07e9f4313108e43d1
This commit is contained in:
parent
74311f7268
commit
b0c6ca831a
1 changed files with 6 additions and 2 deletions
|
@ -781,8 +781,12 @@ (define %bootstrap-glibc
|
|||
''("lib/libc.so" "lib/libpthread.so"))
|
||||
(else
|
||||
''("lib/libc.so")))
|
||||
(("/[^ ]+/lib/(libc|libm|libh|libpthread|ld)" _ prefix)
|
||||
(string-append out "/lib/" prefix)))))))))
|
||||
(("/[^ ]+/lib/(libc|libh|libm|libpthread|ld)" _ prefix)
|
||||
(string-append out "/lib/" prefix))
|
||||
,@(if (target-arm32?)
|
||||
`((substitute* "lib/libpthread.so"
|
||||
(("/[^ ]+/lib/libpthread_nonshared\\.a") "")))
|
||||
`()))))))))
|
||||
(inputs
|
||||
`(("tar" ,(bootstrap-executable "tar" (%current-system)))
|
||||
("xz" ,(bootstrap-executable "xz" (%current-system)))
|
||||
|
|
Loading…
Reference in a new issue