summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-11-05 11:18:22 +0200
committerEfraim Flashner <efraim@flashner.co.il>2025-07-28 10:00:00 +0300
commit2fe393c4f9d050a18afd1f81c04785c2f200f184 (patch)
treef3eba2998a052b52b2fcb609823a29007089475f /gnu
parentbd7220ee3f583ef6d2508b55932df157b8cb066f (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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/commencement.scm45
1 files changed, 44 insertions, 1 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 8b69c399c60..463dbaf87ec 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.