diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-12-10 17:00:19 +0200 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-07-18 20:17:15 +0200 |
commit | bb9cee6b43a786acf24f676aa2ba96da1a801b7a (patch) | |
tree | 8310a4b8bc3138fbc33aba44f380b81789a7a894 | |
parent | 6387efbd37419b36e444b2b40453726cfc081784 (diff) |
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
-rw-r--r-- | gnu/packages/bootstrap.scm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm index cc235abce4..b8a38aab5c 100644 --- a/gnu/packages/bootstrap.scm +++ b/gnu/packages/bootstrap.scm @@ -785,8 +785,12 @@ $out/bin/guile --version~%" ''("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))) |