diff options
| author | Andreas Enge <andreas@enge.fr> | 2025-07-21 20:43:19 +0200 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-07-21 20:43:19 +0200 |
| commit | ebf6e99022738efb0ebb1c4c9a780afb41367e5d (patch) | |
| tree | b70ec6feb0c049f738aeeb3493667af07deab85c /gnu/packages | |
| parent | d04a3407b9fabd6c2a65922e6251d195654d283b (diff) | |
gnu: spike: Fix build with gcc@14.
* gnu/packages/virtualization.scm (spike)[arguments]<#:phases>{'gcc14}:
New phase.
Change-Id: I363875fb17c5e0d23037eee4c5023bc563367c4b
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/virtualization.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 03e5bc8004a..af1566b3a69 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm | |||
| @@ -42,6 +42,7 @@ | |||
| 42 | ;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com> | 42 | ;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com> |
| 43 | ;;; Copyright © 2025 Karl Hallsby <karl@hallsby.com> | 43 | ;;; Copyright © 2025 Karl Hallsby <karl@hallsby.com> |
| 44 | ;;; Copyright © 2025 Douglas Deslauriers <Douglas.Deslauriers@vector.com> | 44 | ;;; Copyright © 2025 Douglas Deslauriers <Douglas.Deslauriers@vector.com> |
| 45 | ;;; Copyright © 2025 Andreas Enge <andreas@enge.fr> | ||
| 45 | ;;; | 46 | ;;; |
| 46 | ;;; This file is part of GNU Guix. | 47 | ;;; This file is part of GNU Guix. |
| 47 | ;;; | 48 | ;;; |
| @@ -1305,6 +1306,11 @@ it emulates a variety of hardware and peripherals.") | |||
| 1305 | (list | 1306 | (list |
| 1306 | #:phases | 1307 | #:phases |
| 1307 | #~(modify-phases %standard-phases | 1308 | #~(modify-phases %standard-phases |
| 1309 | (add-before 'configure 'gcc14 | ||
| 1310 | (lambda _ | ||
| 1311 | (substitute* "fesvr/device.h" | ||
| 1312 | (("#include <string>" all) | ||
| 1313 | (string-append all "\n#include <cstdint>"))))) | ||
| 1308 | (add-before 'configure 'configure-dtc-path | 1314 | (add-before 'configure 'configure-dtc-path |
| 1309 | (lambda* (#:key inputs #:allow-other-keys) | 1315 | (lambda* (#:key inputs #:allow-other-keys) |
| 1310 | ;; Reference dtc by its absolute store path. | 1316 | ;; Reference dtc by its absolute store path. |
