guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/08: gnu: Switch to GCC 4.9 as the default cross-compiler.


From: Ludovic Courtès
Subject: 08/08: gnu: Switch to GCC 4.9 as the default cross-compiler.
Date: Thu, 04 Jun 2015 16:08:41 +0000

civodul pushed a commit to branch core-updates
in repository guix.

commit 8d866b96f75cd6fc8006721fdcb0c2ed7da6c842
Author: Ludovic Courtès <address@hidden>
Date:   Thu Jun 4 18:07:26 2015 +0200

    gnu: Switch to GCC 4.9 as the default cross-compiler.
    
    * gnu/packages/cross-base.scm: Replace all occurrences of "gcc-4.8" with
      "gcc-4.9".
---
 gnu/packages/cross-base.scm |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm
index 9a45940..abe87da 100644
--- a/gnu/packages/cross-base.scm
+++ b/gnu/packages/cross-base.scm
@@ -86,7 +86,7 @@ may be either a libc package or #f.)"
   ;; Set the current target system so that 'glibc-dynamic-linker' returns the
   ;; right name.
   (parameterize ((%current-target-system target))
-    (substitute-keyword-arguments (package-arguments gcc-4.8)
+    (substitute-keyword-arguments (package-arguments gcc-4.9)
       ((#:configure-flags flags)
        `(append (list ,(string-append "--target=" target)
                       ,@(if libc
@@ -194,14 +194,14 @@ may be either a libc package or #f.)"
   "Return a cross-compiler for TARGET, where TARGET is a GNU triplet.  Use
 XBINUTILS as the associated cross-Binutils.  If LIBC is false, then build a
 GCC that does not target a libc; otherwise, target that libc."
-  (package (inherit gcc-4.8)
+  (package (inherit gcc-4.9)
     (name (string-append "gcc-cross-"
                          (if libc "" "sans-libc-")
                          target))
-    (source (origin (inherit (package-source gcc-4.8))
+    (source (origin (inherit (package-source gcc-4.9))
               (patches
                (append
-                (origin-patches (package-source gcc-4.8))
+                (origin-patches (package-source gcc-4.9))
                 (cons (search-patch "gcc-cross-environment-variables.patch")
                       (cross-gcc-patches target))))))
 
@@ -231,7 +231,7 @@ GCC that does not target a libc; otherwise, target that 
libc."
        ("libc-native" ,@(assoc-ref %final-inputs "libc"))
 
        ;; Remaining inputs.
-       ,@(let ((inputs (append (package-inputs gcc-4.8)
+       ,@(let ((inputs (append (package-inputs gcc-4.9)
                                (alist-delete "libc" %final-inputs))))
            (if libc
                `(("libc" ,libc)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]