guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: sgabios: Fix build on cross-build architectu


From: guix-commits
Subject: branch master updated: gnu: sgabios: Fix build on cross-build architectures.
Date: Fri, 23 Dec 2022 06:57:36 -0500

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 9923100a42 gnu: sgabios: Fix build on cross-build architectures.
9923100a42 is described below

commit 9923100a42ffa80f604c1c13a5e999e6a4c15146
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Fri Dec 23 09:42:27 2022 +0200

    gnu: sgabios: Fix build on cross-build architectures.
    
    * gnu/packages/firmware.scm (sgabios)[arguments]: When cross-building
    add a make-flag to use the correct objcopy.
---
 gnu/packages/firmware.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 54b19dd5fa..1b4fd61241 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -589,7 +589,9 @@ coreboot.")
        (list #:make-flags
              #~'(#$@(if (member (%current-system) '("i686-linux" 
"x86_64-linux"))
                         #~("CC=gcc")
-                        #~("CC=i686-linux-gnu-gcc" "LD=i686-linux-gnu-ld"))
+                        #~("CC=i686-linux-gnu-gcc"
+                           "LD=i686-linux-gnu-ld"
+                           "OBJCOPY=i686-linux-gnu-objcopy"))
                      "HOSTCC=gcc")
              #:parallel-build? #f
              #:tests? #f   ;no tests



reply via email to

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