1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-23 17:45:53 +02: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:
Ludovic Courtès
2022-03-24 22:47:00 +01:00
parent 07f55a361e
commit 462f3b064f
+6 -1
View File
@@ -2152,7 +2152,12 @@ override CC = " (assoc-ref inputs "cross-gcc") "/bin/i686-linux-gnu-gcc"))
(string-append "runtime_library_dirs = ['"
(assoc-ref outputs "out")
"/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
(lambda* (#:key outputs #:allow-other-keys)
(substitute* '("configure"