aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-02-04 09:35:32 +0100
committerLudovic Courtès <ludo@gnu.org>2020-02-06 18:47:15 +0100
commita1caea07f6b509e52c16869a9c74ec4503b67139 (patch)
tree042d57ddf90b6152a8d8fa1201af96e282c75408
parentf0e810110bf44b6c5c61bf0cdcadc836a7fd459d (diff)
downloadpatches-a1caea07f6b509e52c16869a9c74ec4503b67139.tar
patches-a1caea07f6b509e52c16869a9c74ec4503b67139.tar.gz
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.
-rw-r--r--gnu/packages/commencement.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index ced13eb075..8f24815b28 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -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)