gnu: commencement: Avoid hard-coded GCC version numbers.

* gnu/packages/commencement.scm (gcc-mesboot1, gcc-mesboot): Use
'package-version' instead of hard-coding the version number.
This commit is contained in:
Ludovic Courtès 2020-02-04 09:35:32 +01:00
parent f0e810110b
commit a1caea07f6
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 2 deletions

View File

@ -934,7 +934,7 @@ ac_cv_c_float_format='IEEE (little-endian)'
(package
(inherit gcc-mesboot0)
(name "gcc-mesboot1")
(version "4.7.4")
(version (package-version gcc-4.7))
(source (bootstrap-origin
(origin (inherit (package-source gcc-4.7))
(patches (search-patches "gcc-boot-4.7.4.patch")))))
@ -1261,7 +1261,7 @@ exec " gcc "/bin/" program
(package
(inherit gcc-mesboot1)
(name "gcc-mesboot")
(version "4.9.4")
(version (package-version gcc-4.9))
(source (bootstrap-origin (package-source gcc-4.9)))
(native-inputs `(("binutils" ,binutils-mesboot)
("gcc-wrapper" ,gcc-mesboot1-wrapper)