diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2024-12-10 12:57:46 +0200 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-07-18 20:17:15 +0200 |
| commit | 6387efbd37419b36e444b2b40453726cfc081784 (patch) | |
| tree | 536c7ac628d612f230e92e5fe0f6e4858d95edcd /gnu/packages | |
| parent | a1e9e7f3efeeb123487b4e9fb2efa6f24593941d (diff) | |
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
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/bootstrap.scm | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm index 59adc7f50a0..cc235abce40 100644 --- a/gnu/packages/bootstrap.scm +++ b/gnu/packages/bootstrap.scm @@ -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))) |
