gnu: gcc-muslboot: Use full gcc sources.

* gnu/packages/commencement.scm (gcc-muslboot)[source]: Use the full gcc
sources, not gcc-core.
[native-inputs]: Remove the gcc-g++ sources.
[arguments]: Remove custom phase unpacking the gcc-g++ sources.

Change-Id: Ib574db2e2c92db693b0fd8d90d6d248976b0fa19
This commit is contained in:
Efraim Flashner
2024-12-17 09:23:22 +02:00
parent a959866a4b
commit 769df3512c

View File

@@ -2032,18 +2032,17 @@ ac_cv_c_float_format='IEEE (little-endian)'
(inherit gcc-muslboot0)
(name "gcc-muslboot")
(version "4.6.4")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/gcc/gcc-"
version "/gcc-" version ".tar.gz"))
(sha256
(base32
"0vvkzxi8wvaj9wzdk0hv12nj9kqymkpjqzasj2ri8nc107dk7pjk"))))
(native-inputs
`(("gcc-g++"
,(origin
(method url-fetch)
(uri (string-append "mirror://gnu/gcc/gcc-"
version "/gcc-g++-" version ".tar.gz"))
(sha256
(base32
"1fqqk5zkmdg4vmqzdmip9i42q6b82i3f6yc0n86n9021cr7ms2k9"))))
,@(modify-inputs (%boot-tcc-musl-inputs)
(replace "gcc" gcc-muslboot0)
(replace "libc" musl-boot))))
(modify-inputs (%boot-tcc-musl-inputs)
(replace "gcc" gcc-muslboot0)
(replace "libc" musl-boot)))
(arguments
(substitute-keyword-arguments (package-arguments gcc-muslboot0)
((#:configure-flags configure-flags)
@@ -2057,10 +2056,6 @@ ac_cv_c_float_format='IEEE (little-endian)'
#$configure-flags))))
((#:phases phases)
#~(modify-phases #$phases
(add-before 'unpack 'unpack-g++
(lambda _
(let ((source-g++ (assoc-ref %build-inputs "gcc-g++")))
(invoke "tar" "xvf" source-g++))))
(add-after 'apply-riscv64-patch 'apply-second-riscv64-patch
(lambda* (#:key inputs #:allow-other-keys)
(let ((patch-file