guix-commits
[Top][All Lists]
Advanced

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

branch core-updates updated: gnu: bootstrap-gcc: Don't use CPATH search


From: guix-commits
Subject: branch core-updates updated: gnu: bootstrap-gcc: Don't use CPATH search paths.
Date: Tue, 04 Aug 2020 08:33:06 -0400

This is an automated email from the git hooks/post-receive script.

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

The following commit(s) were added to refs/heads/core-updates by this push:
     new fe6775f  gnu: bootstrap-gcc: Don't use CPATH search paths.
fe6775f is described below

commit fe6775f52b7f28a5bf74633ea4737c32a64b7e05
Author: Jakub Kądziołka <kuba@kadziolka.net>
AuthorDate: Sun Aug 2 22:17:11 2020 +0200

    gnu: bootstrap-gcc: Don't use CPATH search paths.
    
    This updates the bootstrap-gcc to use the same search path strategy as
    the main compilers, making the bootstrap environment more similar across
    architectures, and fixing the bootstrap path on non-x86 architectures
    again.
    
    This is a follow up to commit 7cde865f12dd67e55946a52a21103e71f447eced.
    
    * gnu/packages/bootstrap.scm (%bootstrap-gcc)[native-search-paths]: Use
      C_INCLUDE_PATH and CPLUS_INCLUDE_PATH instead of CPATH.
---
 gnu/packages/bootstrap.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm
index c39e60e..fee2ae1 100644
--- a/gnu/packages/bootstrap.scm
+++ b/gnu/packages/bootstrap.scm
@@ -5,6 +5,7 @@
 ;;; Copyright © 2018, 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
 ;;; Copyright © 2019 Carl Dong <contact@carldong.me>
 ;;; Copyright © 2019 Léo Le Bouter <lle-bout@zaclys.net>
+;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -740,9 +741,12 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \
                            
"1m5miqkyng45l745n0sfafdpjkqv9225xf44jqkygwsipj2cv9ks")))))))))
     (native-search-paths
      (list (search-path-specification
-            (variable "CPATH")
+            (variable "C_INCLUDE_PATH")
             (files '("include")))
            (search-path-specification
+            (variable "CPLUS_INCLUDE_PATH")
+            (files '("include/c++" "include")))
+           (search-path-specification
             (variable "LIBRARY_PATH")
             (files '("lib" "lib64")))))
     (synopsis "Bootstrap binaries of the GNU Compiler Collection")



reply via email to

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