guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: gnu: xen: Fix compilation.


From: guix-commits
Subject: 01/03: gnu: xen: Fix compilation.
Date: Thu, 24 Mar 2022 18:30:12 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 462f3b064f0dd7f6f462b3a8deee5f438f4cd438
Author: Ludovic Court├Ęs <ludo@gnu.org>
AuthorDate: Thu Mar 24 22:47:00 2022 +0100

    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'.
---
 gnu/packages/virtualization.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 5909691347..bd297977df 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]