diff options
| author | Jakub Kądziołka <kuba@kadziolka.net> | 2020-08-02 22:17:11 +0200 |
|---|---|---|
| committer | Jakub Kądziołka <kuba@kadziolka.net> | 2020-08-04 14:32:36 +0200 |
| commit | fe6775f52b7f28a5bf74633ea4737c32a64b7e05 (patch) | |
| tree | 58ced4e6cff4d87e95c8e26c2ffe03fb0695cf0f /gnu/packages | |
| parent | 5324e66f9df62d776dbf0237ce4a7494eaad4988 (diff) | |
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.
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/bootstrap.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm index c39e60ec8bc..fee2ae11995 100644 --- a/gnu/packages/bootstrap.scm +++ b/gnu/packages/bootstrap.scm | |||
| @@ -5,6 +5,7 @@ | |||
| 5 | ;;; Copyright © 2018, 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> | 5 | ;;; Copyright © 2018, 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> |
| 6 | ;;; Copyright © 2019 Carl Dong <contact@carldong.me> | 6 | ;;; Copyright © 2019 Carl Dong <contact@carldong.me> |
| 7 | ;;; Copyright © 2019 Léo Le Bouter <lle-bout@zaclys.net> | 7 | ;;; Copyright © 2019 Léo Le Bouter <lle-bout@zaclys.net> |
| 8 | ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net> | ||
| 8 | ;;; | 9 | ;;; |
| 9 | ;;; This file is part of GNU Guix. | 10 | ;;; This file is part of GNU Guix. |
| 10 | ;;; | 11 | ;;; |
| @@ -740,9 +741,12 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \ | |||
| 740 | "1m5miqkyng45l745n0sfafdpjkqv9225xf44jqkygwsipj2cv9ks"))))))))) | 741 | "1m5miqkyng45l745n0sfafdpjkqv9225xf44jqkygwsipj2cv9ks"))))))))) |
| 741 | (native-search-paths | 742 | (native-search-paths |
| 742 | (list (search-path-specification | 743 | (list (search-path-specification |
| 743 | (variable "CPATH") | 744 | (variable "C_INCLUDE_PATH") |
| 744 | (files '("include"))) | 745 | (files '("include"))) |
| 745 | (search-path-specification | 746 | (search-path-specification |
| 747 | (variable "CPLUS_INCLUDE_PATH") | ||
| 748 | (files '("include/c++" "include"))) | ||
| 749 | (search-path-specification | ||
| 746 | (variable "LIBRARY_PATH") | 750 | (variable "LIBRARY_PATH") |
| 747 | (files '("lib" "lib64"))))) | 751 | (files '("lib" "lib64"))))) |
| 748 | (synopsis "Bootstrap binaries of the GNU Compiler Collection") | 752 | (synopsis "Bootstrap binaries of the GNU Compiler Collection") |
