summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-11-24 17:00:58 +0200
committerJanneke Nieuwenhuizen <janneke@gnu.org>2026-01-28 21:47:40 +0100
commit7a97fcd5ef81fa5f16c1f3c1da6baa74d7084faa (patch)
tree5486b30772913715a86cd2b8a7fca7d741025c51 /gnu
parent1743097ca416a98ea2a7148375a5246134fb7488 (diff)
gnu: musl-boot0: Fix building on riscv64-linux.
* gnu/packages/commencement.scm (musl-boot0)[arguments]: Add a phase to remove a file which tcc can't compile. Change-Id: Iacf5d2dc6250a312b2181c8bfe749ca68de7f55a
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/commencement.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 31aa4ee4e6f..1ad564e02f0 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -980,6 +980,11 @@ MesCC-Tools), and finally M2-Planet.")
980 (("^sigsetjmp:") "1:\tjmp ___setjmp\nsigsetjmp:") 980 (("^sigsetjmp:") "1:\tjmp ___setjmp\nsigsetjmp:")
981 ;; And we turn the forward into a backward reference. 981 ;; And we turn the forward into a backward reference.
982 (("jecxz 1f") "jecxz 1b")))) 982 (("jecxz 1f") "jecxz 1b"))))
983 (add-after 'unpack 'use-fallback-ldso-on-riscv64
984 ;; src/ldso/riscv64/tlsdesc.s:13: error: 'add': Expected second source
985 ;; operand that is a register or immediate
986 (lambda _
987 (delete-file "src/ldso/riscv64/tlsdesc.s")))
983 ;; We can't use the install script since it doesn't play well with gash. 988 ;; We can't use the install script since it doesn't play well with gash.
984 (replace 'install 989 (replace 'install
985 (lambda* (#:key outputs #:allow-other-keys) 990 (lambda* (#:key outputs #:allow-other-keys)