[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
36/60: gnu: gcc-mesboot1: Adjust setting include paths.
From: |
guix-commits |
Subject: |
36/60: gnu: gcc-mesboot1: Adjust setting include paths. |
Date: |
Sun, 24 Nov 2024 02:50:15 -0500 (EST) |
efraim pushed a commit to branch wip-riscv-bootstrap
in repository guix.
commit f23e08764ca6c5b322e354dfeeb1808d44ded6d7
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Oct 9 19:49:35 2024 +0300
gnu: gcc-mesboot1: Adjust setting include paths.
* gnu/packages/commencement.scm (gcc-mesboot1)[arguments]: Don't replace
the 'setenv phase, add a 'set-cplus-include-path phase to set the
CPLUS_INCLUDE_PATH.
Change-Id: I58434bca416c07b43e147b598930ad4ea8382802
---
gnu/packages/commencement.scm | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 664ea460df..432cc8b500 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1804,15 +1804,8 @@ ac_cv_c_float_format='IEEE (little-endian)'
(lambda _
(let ((source-g++ (assoc-ref %build-inputs "gcc-g++")))
(invoke "tar" "xvf" source-g++))))
- (replace 'setenv
+ (add-before 'configure 'set-cplus-include-path
(lambda _
- (setenv "CONFIG_SHELL" (which "sh"))
-
- ;; Allow MPFR headers to be found.
- (setenv "C_INCLUDE_PATH"
- (string-append (getcwd) "/mpfr/src:"
- (getenv "C_INCLUDE_PATH")))
-
;; Set the C++ search path so that C headers can be found as
;; libstdc++ is being compiled.
(setenv "CPLUS_INCLUDE_PATH" (getenv "C_INCLUDE_PATH"))))))))
- 49/60: gnu: %boot-mesboot6-inputs: Adjust for riscv64-linux., (continued)
- 49/60: gnu: %boot-mesboot6-inputs: Adjust for riscv64-linux., guix-commits, 2024/11/24
- 48/60: gnu: mesboot-package: Adjust for riscv64-linux builds., guix-commits, 2024/11/24
- 53/60: gnu: file-boot0: Fix building on riscv64-linux., guix-commits, 2024/11/24
- 52/60: gnu: findutils-boot0: Adjust the skipped tests on riscv64-linux., guix-commits, 2024/11/24
- 21/60: gnu: tcc-boot0: Specify the build target., guix-commits, 2024/11/24
- 31/60: gnu: gmp-boot: Update and build package., guix-commits, 2024/11/24
- 32/60: gnu: mpfr-boot: Update and build package., guix-commits, 2024/11/24
- 37/60: gnu: gcc-mesboot: Adjust for changes in gcc-mesboot1., guix-commits, 2024/11/24
- 39/60: gnu: Add musl-boot., guix-commits, 2024/11/24
- 56/60: gnu: Add byacc-boot0., guix-commits, 2024/11/24
- 36/60: gnu: gcc-mesboot1: Adjust setting include paths.,
guix-commits <=
- 41/60: gnu: Add %boot-muslboot2-inputs., guix-commits, 2024/11/24
- 54/60: gnu: %boot0-inputs: Use newly built *-boot0 packages on riscv64-linux., guix-commits, 2024/11/24
- 55/60: gnu: %boot0-inputs: Remove duplicate packages., guix-commits, 2024/11/24
- 58/60: gnu: ed: Update to 1.20.2., guix-commits, 2024/11/24
- 30/60: gnu: Add m4-boot., guix-commits, 2024/11/24
- 33/60: gnu: mpc-boot: Update and build package., guix-commits, 2024/11/24
- 35/60: gnu: gcc-mesboot1: Fix native-search-paths., guix-commits, 2024/11/24
- 40/60: gnu: Add gcc-muslboot., guix-commits, 2024/11/24
- 45/60: gnu: gawk-mesboot: Remove pre-generated source file., guix-commits, 2024/11/24
- 47/60: gnu: Add %boot-muslboot3-inputs., guix-commits, 2024/11/24