me
/
guix
Archived
1
0
Fork 0

gnu: go-1.17: Don't build with gccgo.

* gnu/packages/golang.scm (go-1.17)[native-inputs]: When building on
architectures not supported by go-1.4 use go-1.16 in place of gccgo.
master
Efraim Flashner 2021-10-12 20:55:23 +03:00
parent a1eca979fb
commit f85dacd869
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 7 additions and 1 deletions

View File

@ -793,7 +793,13 @@ in the style of communicating sequential processes (@dfn{CSP}).")
(install-file file (string-append out "/share/doc/go")))
'("AUTHORS" "CONTRIBUTORS" "CONTRIBUTING.md" "PATENTS"
"README.md" "SECURITY.md"))))))))
(inputs (alist-delete "gcc:lib" (package-inputs go-1.16)))))
(inputs (alist-delete "gcc:lib" (package-inputs go-1.16)))
(native-inputs
`(,@(if (not (member (%current-system) (package-supported-systems go-1.4)))
;; gccgo-10.4, 11.3 and lower has a bug which causes bootstrapping
;; to fail. Use go-1.16 until we have a newer version available.
(alist-replace "go" (list go-1.16) (package-native-inputs go-1.16))
(package-native-inputs go-1.16))))))
(define-public go go-1.14)