marusich pushed a commit to branch wip-ppc64le
in repository guix.
commit 1f3c436ce7654478d16d73f479fad7508fa2293b
Author: Léo Le Bouter <[email protected]>
AuthorDate: Thu Feb 25 21:32:49 2021 +0100
gnu: gcc: Set gcc-8 as default.
This is a requirement for Glibc 2.32 and later on powerpc64le-linux.
* gnu/packages/commencement.scm (gcc-toolchain-8): Use gcc-toolchain
directly
as it's the new default.
(gcc-toolchain-7): No longer the default, make the toolchain from gcc-7.
* gnu/packages/gcc.scm (gcc): Set to gcc-8.
Signed-off-by: Chris Marusich <[email protected]>
---
gnu/packages/commencement.scm | 4 ++--
gnu/packages/gcc.scm | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 4de9112..d7d7c04 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -3819,10 +3819,10 @@ is the GNU Compiler Collection.")
(make-gcc-toolchain gcc-6))
(define-public gcc-toolchain-7
- gcc-toolchain)
+ (make-gcc-toolchain gcc-7))
(define-public gcc-toolchain-8
- (make-gcc-toolchain gcc-8))
+ gcc-toolchain)
(define-public gcc-toolchain-9
(make-gcc-toolchain gcc-9))
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 1615be0..cdb26d6 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -585,7 +585,7 @@ It also includes runtime support libraries for these
languages.")))
;; Note: When changing the default gcc version, update
;; the gcc-toolchain-* definitions and the gfortran definition
;; accordingly.
-(define-public gcc gcc-7)
+(define-public gcc gcc-8)
(define-public (make-libstdc++ gcc)
"Return a libstdc++ package based on GCC. The primary use case is when