diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2024-11-05 11:18:22 +0200 |
|---|---|---|
| committer | Janneke Nieuwenhuizen <janneke@gnu.org> | 2026-01-28 21:47:40 +0100 |
| commit | 064c31578c2081c083e367360a9f4b3e63290bc0 (patch) | |
| tree | 0bf58c34c1d47e9c75bfe5f179387e7ddfb72b45 | |
| parent | a2272a638eb2ddd1b512317e905db823f985bca4 (diff) | |
gnu: binutils-mesboot: Update to 2.30.
* gnu/packages/commencement.scm (binutils-mesboot): Update to 2.30.
[arguments]: Don't inherit from binutils-mesboot1. Update
configure-flags.
[native-inputs]: When building for not i686 or x86_64 use
%boot-muslboot2-inputs.
[supported-systems]: Support all supported systems.
Change-Id: I52740e2c87fbb31da05a0f3fd5016edf4e94bd41
| -rw-r--r-- | gnu/packages/commencement.scm | 45 |
1 files changed, 44 insertions, 1 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 5bf319c5b27..322e00f664c 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm | |||
| @@ -2099,7 +2099,50 @@ ac_cv_c_float_format='IEEE (little-endian)' | |||
| 2099 | (package | 2099 | (package |
| 2100 | (inherit binutils-mesboot1) | 2100 | (inherit binutils-mesboot1) |
| 2101 | (name "binutils-mesboot") | 2101 | (name "binutils-mesboot") |
| 2102 | (native-inputs (%boot-mesboot2-inputs)))) | 2102 | (version "2.30") |
| 2103 | (source (bootstrap-origin | ||
| 2104 | (origin | ||
| 2105 | (method url-fetch) | ||
| 2106 | (uri (string-append "mirror://gnu/binutils/binutils-" | ||
| 2107 | version ".tar.gz")) | ||
| 2108 | (sha256 | ||
| 2109 | (base32 | ||
| 2110 | "1sp9g7zrrcsl25hxiqzmmcrdlbm7rbmj0vki18lks28wblcm0f4c"))))) | ||
| 2111 | (arguments | ||
| 2112 | (list #:implicit-inputs? #f | ||
| 2113 | #:guile %bootstrap-guile | ||
| 2114 | #:tests? #f ; runtest: command not found | ||
| 2115 | #:parallel-build? #f | ||
| 2116 | #:phases | ||
| 2117 | #~(modify-phases %standard-phases | ||
| 2118 | (add-after 'configure 'fix-build | ||
| 2119 | (lambda _ | ||
| 2120 | ;; bfd/po doesn't have a Makefile, so the recursive calls just | ||
| 2121 | ;; fail. We add files with the same name Make targets have, to | ||
| 2122 | ;; trick Make into thinking there's nothing to do. | ||
| 2123 | (call-with-output-file "bfd/po/install" | ||
| 2124 | (lambda (p) (display "" p))) | ||
| 2125 | (call-with-output-file "bfd/po/all" | ||
| 2126 | (lambda (p) (display "" p))) | ||
| 2127 | (call-with-output-file "bfd/po/info" | ||
| 2128 | (lambda (p) (display "" p)))))) | ||
| 2129 | #:configure-flags | ||
| 2130 | #~(list | ||
| 2131 | (string-append "CONFIG_SHELL=" | ||
| 2132 | (search-input-file %build-inputs "/bin/bash")) | ||
| 2133 | (string-append "SHELL=" | ||
| 2134 | (search-input-file %build-inputs "/bin/bash")) | ||
| 2135 | "--enable-64-bit-bfd" | ||
| 2136 | "--disable-nls" | ||
| 2137 | "--disable-shared" | ||
| 2138 | "--disable-plugins" | ||
| 2139 | "--enable-deterministic-archives" | ||
| 2140 | (string-append "--build=" #$(commencement-build-target)) | ||
| 2141 | (string-append "--host=" #$(commencement-build-target))))) | ||
| 2142 | (native-inputs (if (target-x86?) | ||
| 2143 | (%boot-mesboot2-inputs) | ||
| 2144 | (%boot-muslboot2-inputs))) | ||
| 2145 | (supported-systems %supported-systems))) | ||
| 2103 | 2146 | ||
| 2104 | ;; We need to introduce byacc in order to process some pre-generated | 2147 | ;; We need to introduce byacc in order to process some pre-generated |
| 2105 | ;; files in gawk and possibly elsewhere. | 2148 | ;; files in gawk and possibly elsewhere. |
