mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 11:39:46 -05:00
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.
This commit is contained in:
parent
f8e544445f
commit
e4b70bc55a
1 changed files with 7 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2018 Danny Milosavljevic <dannym@scratchpost.org>
|
||||
;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||
;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -48,17 +49,20 @@ (define-public ada/ed
|
|||
(file-name (git-file-name name version))))
|
||||
(build-system gnu-build-system)
|
||||
(supported-systems (list "i686-linux" "x86_64-linux"
|
||||
"armhf-linux" "aarch64-linux"))
|
||||
"armhf-linux" "aarch64-linux"
|
||||
"powerpc-linux"))
|
||||
(outputs (list "out" "debug"))
|
||||
(arguments
|
||||
`(#:system
|
||||
,@(match (%current-system)
|
||||
;; This package predates 64-bit PCs: a ‘64-bit’ adaexec segfaults.
|
||||
;; Force a 32-bit build targeting a similar architecture.
|
||||
((or "armhf-linux" "aarch64-linux")
|
||||
("aarch64-linux"
|
||||
`("armhf-linux"))
|
||||
("x86_64-linux"
|
||||
`("i686-linux"))
|
||||
(_
|
||||
`("i686-linux")))
|
||||
(list (%current-system))))
|
||||
#:make-flags
|
||||
(let ((out (assoc-ref %outputs "out")))
|
||||
(list (string-append
|
||||
|
|
Loading…
Reference in a new issue