diff options
| author | Zheng Junjie <873216071@qq.com> | 2024-12-24 01:11:09 +0800 |
|---|---|---|
| committer | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2025-01-25 01:05:26 +0800 |
| commit | fffecf715bf0f0f7e1f06cc9add9f0cc70a986db (patch) | |
| tree | bbb05479ba3f25cbe92b03693fd840c60a36b4c6 /gnu/packages/make-bootstrap.scm | |
| parent | 40f5d733958848731f91fa2f93a980a373bac1d5 (diff) | |
gnu: %glibc-stripped: Fix cross-compiling to loongarch64.
gnu/packages/make-bootstrap.scm (%glibc-stripped)[inputs]: When target
loongarch64, Use linux-libre-headers-5.19.17.
Change-Id: I4b2b9168aa3716445d1b88b4db3dcf4ad038a45d
Diffstat (limited to 'gnu/packages/make-bootstrap.scm')
| -rw-r--r-- | gnu/packages/make-bootstrap.scm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm index 59c117f2260..864d84d89e9 100644 --- a/gnu/packages/make-bootstrap.scm +++ b/gnu/packages/make-bootstrap.scm | |||
| @@ -475,11 +475,13 @@ for `sh' in $PATH, and without nscd, and with static NSS modules." | |||
| 475 | glibc))))) | 475 | glibc))))) |
| 476 | (inputs | 476 | (inputs |
| 477 | `(("kernel-headers" | 477 | `(("kernel-headers" |
| 478 | ,(if (or (and (%current-target-system) | 478 | ,(cond ((or (and (%current-target-system) |
| 479 | (target-hurd? (%current-target-system))) | 479 | (target-hurd? (%current-target-system))) |
| 480 | (string-suffix? "-hurd" (%current-system))) | 480 | (string-suffix? "-hurd" (%current-system))) |
| 481 | gnumach-headers | 481 | gnumach-headers) |
| 482 | linux-libre-headers)))) | 482 | ;; linux 5.19 include loongarch support. |
| 483 | ((target-loongarch64?) linux-libre-headers-5.19.17) | ||
| 484 | (else linux-libre-headers))))) | ||
| 483 | (propagated-inputs '()) | 485 | (propagated-inputs '()) |
| 484 | 486 | ||
| 485 | ;; Only one output. | 487 | ;; Only one output. |
