diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2021-07-18 12:03:29 +0300 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2021-07-18 12:03:29 +0300 |
| commit | e4b70bc55a538569465bcedee19d1f2607308e65 (patch) | |
| tree | 3ea36860abf912689aabb1b9eca78d6f4139c278 /gnu/packages | |
| parent | f8e544445ffdfc4ea6fc1192e9403fb9c95f8c53 (diff) | |
gnu: ada-ed: Adjust target system.
* gnu/packages/ada.scm (ada-ed)[arguments]: Only set the target system
when necessary.
[supported-systems]: Add powerpc-linux.
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/ada.scm | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gnu/packages/ada.scm b/gnu/packages/ada.scm index d24aa2b168e..edd623be9d5 100644 --- a/gnu/packages/ada.scm +++ b/gnu/packages/ada.scm | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2018 Danny Milosavljevic <dannym@scratchpost.org> | 2 | ;;; Copyright © 2018 Danny Milosavljevic <dannym@scratchpost.org> |
| 3 | ;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr> | 3 | ;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr> |
| 4 | ;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il> | ||
| 4 | ;;; | 5 | ;;; |
| 5 | ;;; This file is part of GNU Guix. | 6 | ;;; This file is part of GNU Guix. |
| 6 | ;;; | 7 | ;;; |
| @@ -48,17 +49,20 @@ | |||
| 48 | (file-name (git-file-name name version)))) | 49 | (file-name (git-file-name name version)))) |
| 49 | (build-system gnu-build-system) | 50 | (build-system gnu-build-system) |
| 50 | (supported-systems (list "i686-linux" "x86_64-linux" | 51 | (supported-systems (list "i686-linux" "x86_64-linux" |
| 51 | "armhf-linux" "aarch64-linux")) | 52 | "armhf-linux" "aarch64-linux" |
| 53 | "powerpc-linux")) | ||
| 52 | (outputs (list "out" "debug")) | 54 | (outputs (list "out" "debug")) |
| 53 | (arguments | 55 | (arguments |
| 54 | `(#:system | 56 | `(#:system |
| 55 | ,@(match (%current-system) | 57 | ,@(match (%current-system) |
| 56 | ;; This package predates 64-bit PCs: a ‘64-bit’ adaexec segfaults. | 58 | ;; This package predates 64-bit PCs: a ‘64-bit’ adaexec segfaults. |
| 57 | ;; Force a 32-bit build targeting a similar architecture. | 59 | ;; Force a 32-bit build targeting a similar architecture. |
| 58 | ((or "armhf-linux" "aarch64-linux") | 60 | ("aarch64-linux" |
| 59 | `("armhf-linux")) | 61 | `("armhf-linux")) |
| 62 | ("x86_64-linux" | ||
| 63 | `("i686-linux")) | ||
| 60 | (_ | 64 | (_ |
| 61 | `("i686-linux"))) | 65 | (list (%current-system)))) |
| 62 | #:make-flags | 66 | #:make-flags |
| 63 | (let ((out (assoc-ref %outputs "out"))) | 67 | (let ((out (assoc-ref %outputs "out"))) |
| 64 | (list (string-append | 68 | (list (string-append |
