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.
This commit is contained in:
parent
a1eca979fb
commit
f85dacd869
@ -793,7 +793,13 @@ in the style of communicating sequential processes (@dfn{CSP}).")
|
|||||||
(install-file file (string-append out "/share/doc/go")))
|
(install-file file (string-append out "/share/doc/go")))
|
||||||
'("AUTHORS" "CONTRIBUTORS" "CONTRIBUTING.md" "PATENTS"
|
'("AUTHORS" "CONTRIBUTORS" "CONTRIBUTING.md" "PATENTS"
|
||||||
"README.md" "SECURITY.md"))))))))
|
"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)
|
(define-public go go-1.14)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user