[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#39414] [PATCH 1/2] gnu: commencement: Avoid hard-coded GCC version
From: |
Ludovic Courtès |
Subject: |
[bug#39414] [PATCH 1/2] gnu: commencement: Avoid hard-coded GCC version numbers. |
Date: |
Tue, 4 Feb 2020 14:00:41 +0100 |
* gnu/packages/commencement.scm (gcc-mesboot1, gcc-mesboot): Use
'package-version' instead of hard-coding the version number.
---
gnu/packages/commencement.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 851bb02163..f011891725 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -938,7 +938,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")))))
@@ -1265,7 +1265,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)
--
2.25.0
[bug#39414] [PATCH core-updates 0/2] Clarify search path handling in commencement.scm, Jan Nieuwenhuizen, 2020/02/06