[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/60: gnu: gcc-core-mesboot1: Use commencement-build-target.
From: |
guix-commits |
Subject: |
16/60: gnu: gcc-core-mesboot1: Use commencement-build-target. |
Date: |
Sun, 24 Nov 2024 02:50:11 -0500 (EST) |
efraim pushed a commit to branch wip-riscv-bootstrap
in repository guix.
commit 8fe57f7a45d0df1ec65d878e4d45ea4f91728ae1
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 1 08:17:59 2024 +0300
gnu: gcc-core-mesboot1: Use commencement-build-target.
* gnu/packages/commencement.scm (gcc-core-mesboot1)[arguments]: Adjust
the configure-flags, make-flags and 'setenv phase to use
commencement-build-target.
Change-Id: I6dc04a4aacde08a83f9f5dac3af9c0fabc69d2a7
---
gnu/packages/commencement.scm | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index d5705dd272..a795ae2823 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1318,15 +1318,17 @@ ac_cv_c_float_format='IEEE (little-endian)'
"-B" libc "/lib "
"-Wl,-dynamic-linker "
"-Wl," libc
- #$(glibc-dynamic-linker "i686-linux"))))
+ #$(glibc-dynamic-linker
+ (gnu-triplet->nix-system
+ (commencement-build-target))))))
(list (string-append "LDFLAGS=" ldflags)
(string-append "LDFLAGS_FOR_TARGET=" ldflags)))
#:configure-flags
#~(let ((out (assoc-ref %outputs "out"))
(glibc (assoc-ref %build-inputs "libc")))
(list (string-append "--prefix=" out)
- "--build=i686-unknown-linux-gnu"
- "--host=i686-unknown-linux-gnu"
+ (string-append "--build=" #$(commencement-build-target))
+ (string-append "--host=" #$(commencement-build-target))
(string-append "--with-native-system-header-dir=" glibc
"/include")
(string-append "--with-build-sysroot=" glibc "/include")
"--disable-bootstrap"
@@ -1396,7 +1398,9 @@ ac_cv_c_float_format='IEEE (little-endian)'
(kernel-headers (assoc-ref %build-inputs
"kernel-headers")))
(setenv "CONFIG_SHELL" (string-append bash "/bin/sh"))
(setenv "C_INCLUDE_PATH" (string-append
- gcc
"/lib/gcc-lib/i686-unknown-linux-gnu/2.95.3/include"
+ gcc "/lib/gcc-lib/"
+ #$(commencement-build-target)
+ "/2.95.3/include"
":" kernel-headers "/include"
":" glibc "/include"
":" (getcwd) "/mpfr/src"))
- branch wip-riscv-bootstrap created (now 2194070501), guix-commits, 2024/11/24
- 02/60: gnu: tcc-boot0: Update to 0.9.26-1157-gdd46e018., guix-commits, 2024/11/24
- 04/60: gnu: stage0-posix: Update to 1.7.0., guix-commits, 2024/11/24
- 10/60: gnu: patch-mesboot: Enable building on all systems., guix-commits, 2024/11/24
- 05/60: gnu: mes-boot: Extend build timeout., guix-commits, 2024/11/24
- 16/60: gnu: gcc-core-mesboot1: Use commencement-build-target.,
guix-commits <=
- 26/60: gnu: Add tcc-musl., guix-commits, 2024/11/24
- 24/60: gnu: Add musl-boot0., guix-commits, 2024/11/24
- 01/60: gnu: mes-boot: Update to 0.26.1., guix-commits, 2024/11/24
- 07/60: gnu: mes-boot: Use commencement-build-target., guix-commits, 2024/11/24
- 08/60: gnu: gzip-mesboot: Allow building on all systems., guix-commits, 2024/11/24
- 09/60: gnu: gnu-make-mesboot0: Update to 3.82., guix-commits, 2024/11/24
- 13/60: gnu: glibc-mesboot0: Use commencement-build-target., guix-commits, 2024/11/24
- 03/60: gnu: mes-boot: Update to 0.27., guix-commits, 2024/11/24
- 19/60: gnu: mes-boot: Enable support for armhf-linux and aarch64-linux., guix-commits, 2024/11/24
- 17/60: gnu: glibc-headers-mesboot: Use commencement-build-target., guix-commits, 2024/11/24