gnu: u-boot: Use newer GCC even during native compiles.

* gnu/packages/bootloaders.scm (u-boot)[native-inputs]: Add gcc-7 even
when not cross-compiling.
This commit is contained in:
Efraim Flashner 2018-01-28 22:36:58 +02:00
parent b253e7b9ac
commit a1f531273c
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -372,7 +372,7 @@ (define (make-u-boot-package board triplet)
`(,@(if (not same-arch?) `(,@(if (not same-arch?)
`(("cross-gcc" ,(cross-gcc triplet #:xgcc gcc-7)) `(("cross-gcc" ,(cross-gcc triplet #:xgcc gcc-7))
("cross-binutils" ,(cross-binutils triplet))) ("cross-binutils" ,(cross-binutils triplet)))
'()) `(("gcc-7" ,gcc-7)))
,@(package-native-inputs u-boot))) ,@(package-native-inputs u-boot)))
(arguments (arguments
`(#:modules ((ice-9 ftw) (guix build utils) (guix build gnu-build-system)) `(#:modules ((ice-9 ftw) (guix build utils) (guix build gnu-build-system))