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:
Efraim Flashner 2024-12-10 17:00:19 +02:00 committed by Janneke Nieuwenhuizen
parent 74311f7268
commit b0c6ca831a
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -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)))