diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2024-12-17 09:19:52 +0200 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2025-07-28 10:00:01 +0300 |
| commit | 5ad92158580e19bd21a459408a54cfb93c0afe82 (patch) | |
| tree | c01794f1655c3acab931c85268d76146f5d90abe /gnu | |
| parent | 0fedcae5efd961429ff7753c40649368474d26f2 (diff) | |
gnu: gcc-mesboot1: Use full gcc sources.
* gnu/packages/commencement.scm (gcc-mesboot1)[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: I4822bbf0385fc0bfb673ec834cc253d9465b0813
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/commencement.scm | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 0e16c3fa1e4..e177a1ec405 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm | |||
| @@ -1938,16 +1938,15 @@ ac_cv_c_float_format='IEEE (little-endian)' | |||
| 1938 | (inherit gcc-core-mesboot1) | 1938 | (inherit gcc-core-mesboot1) |
| 1939 | (name "gcc-mesboot1") | 1939 | (name "gcc-mesboot1") |
| 1940 | (version "4.6.4") | 1940 | (version "4.6.4") |
| 1941 | (source (origin | ||
| 1942 | (method url-fetch) | ||
| 1943 | (uri (string-append "mirror://gnu/gcc/gcc-" | ||
| 1944 | version "/gcc-" version ".tar.gz")) | ||
| 1945 | (sha256 | ||
| 1946 | (base32 | ||
| 1947 | "0vvkzxi8wvaj9wzdk0hv12nj9kqymkpjqzasj2ri8nc107dk7pjk")))) | ||
| 1941 | (native-inputs | 1948 | (native-inputs |
| 1942 | `(("gcc-g++" | 1949 | (package-native-inputs gcc-core-mesboot1)) |
| 1943 | ,(origin | ||
| 1944 | (method url-fetch) | ||
| 1945 | (uri (string-append "mirror://gnu/gcc/gcc-" | ||
| 1946 | version "/gcc-g++-" version ".tar.gz")) | ||
| 1947 | (sha256 | ||
| 1948 | (base32 | ||
| 1949 | "1fqqk5zkmdg4vmqzdmip9i42q6b82i3f6yc0n86n9021cr7ms2k9")))) | ||
| 1950 | ,@(package-native-inputs gcc-core-mesboot1))) | ||
| 1951 | (arguments | 1950 | (arguments |
| 1952 | (substitute-keyword-arguments (package-arguments gcc-core-mesboot1) | 1951 | (substitute-keyword-arguments (package-arguments gcc-core-mesboot1) |
| 1953 | ((#:configure-flags configure-flags) | 1952 | ((#:configure-flags configure-flags) |
| @@ -1958,10 +1957,6 @@ ac_cv_c_float_format='IEEE (little-endian)' | |||
| 1958 | #$configure-flags)))) | 1957 | #$configure-flags)))) |
| 1959 | ((#:phases phases) | 1958 | ((#:phases phases) |
| 1960 | #~(modify-phases #$phases | 1959 | #~(modify-phases #$phases |
| 1961 | (add-before 'unpack 'unpack-g++ | ||
| 1962 | (lambda _ | ||
| 1963 | (let ((source-g++ (assoc-ref %build-inputs "gcc-g++"))) | ||
| 1964 | (invoke "tar" "xvf" source-g++)))) | ||
| 1965 | (add-before 'configure 'set-cplus-include-path | 1960 | (add-before 'configure 'set-cplus-include-path |
| 1966 | (lambda _ | 1961 | (lambda _ |
| 1967 | ;; Set the C++ search path so that C headers can be found as | 1962 | ;; Set the C++ search path so that C headers can be found as |
