mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
squash! gnu: commencement: gcc-core-mesboot0: Support ARM.
This commit is contained in:
parent
83842db321
commit
9d40ec0fcd
1 changed files with 4 additions and 4 deletions
|
@ -1001,9 +1001,9 @@ (define gcc-core-mesboot0
|
|||
`("--enable-static"
|
||||
"--disable-shared"
|
||||
"--disable-werror"
|
||||
,(string-append "--build=" ,triplet)
|
||||
,(string-append "--host=" ,triplet)
|
||||
;; (string-append "--target=" ,triplet)
|
||||
,(string-append "--build=" #$triplet)
|
||||
,(string-append "--host=" #$triplet)
|
||||
;; (string-append "--target=" #$triplet)
|
||||
,(string-append "--prefix=" out)))
|
||||
#:make-flags
|
||||
#~`("CC=tcc -static -D __GLIBC_MINOR__=6"
|
||||
|
@ -1067,7 +1067,7 @@ (define gcc-core-mesboot0
|
|||
(let* ((tcc (assoc-ref %build-inputs "tcc"))
|
||||
(out (assoc-ref outputs "out"))
|
||||
(gcc-dir (string-append
|
||||
out "/lib/gcc-lib/" ,triplet "/2.95.3")))
|
||||
out "/lib/gcc-lib/" #$triplet "/2.95.3")))
|
||||
(mkdir-p "tmp")
|
||||
(with-directory-excursion "tmp"
|
||||
(invoke "ar" "x" (string-append "../gcc/libgcc2.a"))
|
||||
|
|
Loading…
Reference in a new issue