mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: gcc-mesboot: Use commencement-build-target.
* gnu/packages/commencement.scm (gcc-mesboot)[arguments]: Adjust the configure-flags and 'setenv phase to use commencement-build-target. Change-Id: I7f864963dd5c08b878dda29188741707b3016edd
This commit is contained in:
parent
e01ddbde27
commit
0312a45814
1 changed files with 8 additions and 4 deletions
|
@ -1758,8 +1758,8 @@ (define gcc-mesboot
|
|||
#~(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))
|
||||
|
||||
"--with-host-libstdcxx=-lsupc++"
|
||||
|
||||
|
@ -1808,12 +1808,16 @@ (define gcc-mesboot
|
|||
(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/4.6.4/include"
|
||||
gcc "/lib/gcc-lib/"
|
||||
#$(commencement-build-target)
|
||||
"/4.6.4/include"
|
||||
":" kernel-headers "/include"
|
||||
":" glibc "/include"
|
||||
":" (getcwd) "/mpfr/src"))
|
||||
(setenv "CPLUS_INCLUDE_PATH" (string-append
|
||||
gcc "/lib/gcc-lib/i686-unknown-linux-gnu/4.6.4/include"
|
||||
gcc "/lib/gcc-lib/"
|
||||
#$(commencement-build-target)
|
||||
"/4.6.4/include"
|
||||
":" kernel-headers "/include"
|
||||
":" glibc "/include"
|
||||
":" (getcwd) "/mpfr/src"))
|
||||
|
|
Loading…
Reference in a new issue