gnu: mold: Update to 2.40.1.

* gnu/packages/mold.scm (mold): Update to 2.40.1.
<arguments>[#:phases]: Update force-system-xxhash phase.

Change-Id: I86cadf30bc3ba9cb790d3c452b8618ac3a52f4d0
Signed-off-by: Zheng Junjie <z572@z572.online>
This commit is contained in:
Ashish SHUKLA 2025-06-09 06:46:49 +00:00 committed by Zheng Junjie
parent 2b8101b9ed
commit 7a667a7d44
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -36,7 +36,7 @@
(define-public mold
(package
(name "mold")
(version "2.40.0")
(version "2.40.1")
(source
(origin
(method git-fetch)
@ -45,7 +45,7 @@
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0yjip7i8ldjcb28qsl4w27ppnsxbkfxbk31r159b10vgv60q0jph"))
(base32 "0m14ymwy1jzslfk91vscdk4mpb1n2cgf620p652jm8i0k56l1bfp"))
(modules '((guix build utils)))
(snippet
#~(begin
@ -67,7 +67,7 @@
#~(modify-phases %standard-phases
(add-before 'configure 'force-system-xxhash
(lambda _
(substitute* "lib/common.h"
(substitute* "lib/lib.h"
(("#include \"../third-party/xxhash/xxhash.h\"")
"#include <xxhash.h>"))))
(add-before 'configure 'fix-compiler-name-in-test