diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-02-04 09:35:32 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-02-06 18:47:15 +0100 |
commit | a1caea07f6b509e52c16869a9c74ec4503b67139 (patch) | |
tree | 042d57ddf90b6152a8d8fa1201af96e282c75408 | |
parent | f0e810110bf44b6c5c61bf0cdcadc836a7fd459d (diff) | |
download | guix-a1caea07f6b509e52c16869a9c74ec4503b67139.tar guix-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.scm | 4 |
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) |