mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 14:40:21 -05:00
gnu: xen: Fix compilation.
Suggested by Skyler <skyvine@protonmail.com>. * gnu/packages/virtualization.scm (xen)[arguments]: In 'patch' phase, substitute ".note.gnu.build-id" in 'xen.lds.S'.
This commit is contained in:
parent
07f55a361e
commit
462f3b064f
1 changed files with 6 additions and 1 deletions
|
@ -2152,7 +2152,12 @@ (define-public xen
|
||||||
(string-append "runtime_library_dirs = ['"
|
(string-append "runtime_library_dirs = ['"
|
||||||
(assoc-ref outputs "out")
|
(assoc-ref outputs "out")
|
||||||
"/lib'],\nlibrary_dirs =")))
|
"/lib'],\nlibrary_dirs =")))
|
||||||
#t))
|
|
||||||
|
;; This needs to be quoted:
|
||||||
|
;; <https://lists.gnu.org/archive/html/guix-devel/2022-03/msg00113.html>.
|
||||||
|
(substitute* "xen/arch/x86/xen.lds.S"
|
||||||
|
((".note.gnu.build-id")
|
||||||
|
"\".note.gnu.build-id\""))))
|
||||||
(add-before 'configure 'patch-xen-script-directory
|
(add-before 'configure 'patch-xen-script-directory
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(substitute* '("configure"
|
(substitute* '("configure"
|
||||||
|
|
Loading…
Reference in a new issue