gnu: go@1.4: Build with binutils-gold on armhf and aarch64.

* gnu/packages/golang.scm (go@1.4)[native-inputs]: Add binutils-gold
for armhf-linux and aarch64-linux.
This commit is contained in:
Efraim Flashner 2019-02-01 22:42:49 +02:00
parent 28317d4990
commit 1009e6e7ec
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com> ;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
;;; Copyright © 2016 Andy Wingo <wingo@igalia.com> ;;; Copyright © 2016 Andy Wingo <wingo@igalia.com>
;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org>
@ -399,6 +399,10 @@ (define-public go-1.9
#t))))))) #t)))))))
(native-inputs (native-inputs
`(("go" ,go-1.4) `(("go" ,go-1.4)
,@(match (%current-system)
((or "armhf-linux" "aarch64-linux")
`(("gold" ,binutils-gold)))
(_ `()))
,@(package-native-inputs go-1.4))) ,@(package-native-inputs go-1.4)))
(supported-systems %supported-systems))) (supported-systems %supported-systems)))