mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: Add mpc-boot1.
* gnu/packages/commencement.scm (mpc-boot1): New variable. Change-Id: I1d002867fa99a78f853c15c4b554f9ab8fa31a77
This commit is contained in:
committed by
Janneke Nieuwenhuizen
parent
1ea57ea17d
commit
be2ef1c562
@@ -2579,6 +2579,34 @@ exec " gcc "/bin/" program
|
||||
(string-append "--host=" #$(commencement-build-target))
|
||||
"--enable-static"
|
||||
"--disable-shared")))))
|
||||
|
||||
(define mpc-boot1
|
||||
(package
|
||||
(inherit mpc)
|
||||
(outputs '("out"))
|
||||
(name "mpc-boot1")
|
||||
(source (bootstrap-origin (package-source mpc)))
|
||||
(native-inputs (if (target-x86?)
|
||||
`(("gcc-wrapper" ,gcc-mesboot1-wrapper)
|
||||
("headers" ,glibc-headers-mesboot)
|
||||
,@(%boot-mesboot4-inputs))
|
||||
(%boot-tcc-musl-inputs)))
|
||||
(inputs '())
|
||||
(propagated-inputs (list gmp-boot1 mpfr-boot1))
|
||||
(arguments
|
||||
(list
|
||||
#:guile %bootstrap-guile
|
||||
#:tests? #f
|
||||
#:implicit-inputs? #f
|
||||
#:parallel-build? #f
|
||||
#:configure-flags
|
||||
#~(list #$@(if (target-x86?)
|
||||
#~()
|
||||
#~("CC=tcc"))
|
||||
(string-append "--build=" #$(commencement-build-target))
|
||||
(string-append "--host=" #$(commencement-build-target))
|
||||
"--enable-static"
|
||||
"--disable-shared")))))
|
||||
(define gcc-mesboot
|
||||
(package
|
||||
(inherit gcc-mesboot1)
|
||||
|
||||
Reference in New Issue
Block a user