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 <[email protected]>
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