mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: gcc-mesboot1-wrapper: Correctly target more systems.
* gnu/packages/commencement.scm (gcc-mesboot1-wrapper)[arguments]: Adjust the 'build phase to correctly target more architectures. Change-Id: I26ed5d329d7b3c80d74edd27acf4f2865928db7b
This commit is contained in:
parent
b6c25eafb6
commit
3d1a94c948
1 changed files with 6 additions and 5 deletions
|
@ -1724,8 +1724,9 @@ (define gcc-mesboot1-wrapper
|
|||
(display (string-append "#! " bash "/bin/bash
|
||||
exec " gcc "/bin/" program
|
||||
" -Wl,--dynamic-linker"
|
||||
;; also for x86_64-linux, we are still on i686-linux
|
||||
" -Wl," libc ,(glibc-dynamic-linker "i686-linux")
|
||||
" -Wl," libc ,(glibc-dynamic-linker
|
||||
(gnu-triplet->nix-system
|
||||
(commencement-build-target)))
|
||||
" -Wl,--rpath"
|
||||
" -Wl," libc "/lib"
|
||||
" \"$@\"
|
||||
|
@ -1734,9 +1735,9 @@ (define gcc-mesboot1-wrapper
|
|||
'("cpp"
|
||||
"gcc"
|
||||
"g++"
|
||||
"i686-unknown-linux-gnu-cpp"
|
||||
"i686-unknown-linux-gnu-gcc"
|
||||
"i686-unknown-linux-gnu-g++")))))
|
||||
,(string-append (commencement-build-target) "-cpp")
|
||||
,(string-append (commencement-build-target) "-gcc")
|
||||
,(string-append (commencement-build-target) "-g++"))))))
|
||||
(replace 'check
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
|
|
Loading…
Reference in a new issue