gnu: mold: Update to 2.4.0.
* gnu/packages/mold.scm (mold): Update to 2.4.0. [source]: Streamline snippet. [inputs]: Remove unused openssl input. Change-Id: Iba4e7c1053459c5e765eb7089428149b49151e29master
parent
ec6d6a51a3
commit
5e66832ad4
|
@ -35,7 +35,7 @@
|
||||||
(define-public mold
|
(define-public mold
|
||||||
(package
|
(package
|
||||||
(name "mold")
|
(name "mold")
|
||||||
(version "2.3.2")
|
(version "2.4.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -44,22 +44,10 @@
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1p6w92caysy9h0vkl26iv3viv0lvwzvbd357yykls0p13hnzlzkr"))
|
(base32 "0rqw7p61qijxhbfm887xbh8idbp5w30axvwgmm68s03xirnr7ymr"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
#~(begin
|
#~(begin
|
||||||
;; Fix detection of i686 systems.
|
|
||||||
;; This can be removed with the next release of mold.
|
|
||||||
(substitute* "test/elf/common.inc"
|
|
||||||
(("echo i386") "echo i686"))
|
|
||||||
(substitute* '("test/elf/common.inc"
|
|
||||||
"test/elf/global-offset-table.sh"
|
|
||||||
"test/elf/i386_tls-module-base.sh"
|
|
||||||
"test/elf/large-alignment-dso.sh"
|
|
||||||
"test/elf/large-alignment.sh"
|
|
||||||
"test/elf/nocopyreloc.sh"
|
|
||||||
"test/elf/range-extension-thunk.sh")
|
|
||||||
(("MACHINE = i386") "MACHINE = i686"))
|
|
||||||
(for-each
|
(for-each
|
||||||
(lambda (x)
|
(lambda (x)
|
||||||
(delete-file-recursively (string-append "third-party/" x)))
|
(delete-file-recursively (string-append "third-party/" x)))
|
||||||
|
@ -93,7 +81,7 @@
|
||||||
;; but compiler in Guix will insert the path of gcc-lib and
|
;; but compiler in Guix will insert the path of gcc-lib and
|
||||||
;; glibc into the output binary.
|
;; glibc into the output binary.
|
||||||
(delete-file "test/elf/rpath.sh"))))))
|
(delete-file "test/elf/rpath.sh"))))))
|
||||||
(inputs (list mimalloc openssl tbb xxhash zlib `(,zstd "lib")))
|
(inputs (list mimalloc tbb xxhash zlib `(,zstd "lib")))
|
||||||
(home-page "https://github.com/rui314/mold")
|
(home-page "https://github.com/rui314/mold")
|
||||||
(synopsis "Fast linker")
|
(synopsis "Fast linker")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue