mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: make-bootstrap: Switch to GCC 4.9.
* gnu/packages/make-bootstrap.scm: Replace all occurrences of "gcc-4.8" with "gcc-4.9". (%gcc-static): Add --disable-libcilkrts, --disable-libvtv, --disable-libbacktrace.
This commit is contained in:
parent
1a802c7ec2
commit
8dca238b15
1 changed files with 10 additions and 7 deletions
|
@ -103,11 +103,11 @@ (define (native-inputs)
|
|||
("cross-binutils" ,(cross-binutils target))
|
||||
,@%final-inputs))
|
||||
`(("libc" ,(glibc-for-bootstrap))
|
||||
("gcc" ,(package (inherit gcc-4.8)
|
||||
("gcc" ,(package (inherit gcc-4.9)
|
||||
(outputs '("out")) ; all in one so libgcc_s is easily found
|
||||
(inputs
|
||||
`(("libc",(glibc-for-bootstrap))
|
||||
,@(package-inputs gcc-4.8)))))
|
||||
,@(package-inputs gcc-4.9)))))
|
||||
,@(fold alist-delete %final-inputs '("libc" "gcc")))))
|
||||
|
||||
(package-with-explicit-inputs p inputs
|
||||
|
@ -389,7 +389,7 @@ (define %glibc-stripped
|
|||
(define %gcc-static
|
||||
;; A statically-linked GCC, with stripped-down functionality.
|
||||
(package-with-relocatable-glibc
|
||||
(package (inherit gcc-4.8)
|
||||
(package (inherit gcc-4.9)
|
||||
(name "gcc-static")
|
||||
(outputs '("out")) ; all in one
|
||||
(arguments
|
||||
|
@ -398,7 +398,7 @@ (define %gcc-static
|
|||
(srfi srfi-1)
|
||||
(srfi srfi-26)
|
||||
(ice-9 regex))
|
||||
,@(substitute-keyword-arguments (package-arguments gcc-4.8)
|
||||
,@(substitute-keyword-arguments (package-arguments gcc-4.9)
|
||||
((#:guile _) #f)
|
||||
((#:implicit-inputs? _) #t)
|
||||
((#:configure-flags flags)
|
||||
|
@ -422,6 +422,9 @@ (define %gcc-static
|
|||
"--disable-libsanitizer"
|
||||
"--disable-libitm"
|
||||
"--disable-libgomp"
|
||||
"--disable-libcilkrts"
|
||||
"--disable-libvtv"
|
||||
"--disable-libbacktrace"
|
||||
"--disable-libssp"
|
||||
"--disable-libquadmath"
|
||||
"--disable-decimal-float")
|
||||
|
@ -451,12 +454,12 @@ (define %gcc-static
|
|||
("gmp-native" ,gmp)
|
||||
("mpfr-native" ,mpfr)
|
||||
("mpc-native" ,mpc)
|
||||
,@(package-native-inputs gcc-4.8))
|
||||
(package-native-inputs gcc-4.8))))))
|
||||
,@(package-native-inputs gcc-4.9))
|
||||
(package-native-inputs gcc-4.9))))))
|
||||
|
||||
(define %gcc-stripped
|
||||
;; The subset of GCC files needed for bootstrap.
|
||||
(package (inherit gcc-4.8)
|
||||
(package (inherit gcc-4.9)
|
||||
(name "gcc-stripped")
|
||||
(build-system trivial-build-system)
|
||||
(source #f)
|
||||
|
|
Loading…
Reference in a new issue