Subject: [PATCH core-updates] gnu: grub; ipxe-qemu: Fix build on 32-bit x86.

From: André Batista <[email-masked]>
Date: Thu, 29 Aug 2024 20:32:51 -0300

* gnu/packages/bootloaders.scm (grub) [native-inputs] <binutils-i386>:
binutils' #configure-flags is a gexp instead of a simple list, so use
gexp handling procedures when setting flags.
* gnu/packages/bootloaders.scm (ipxe-qemu) [native-inputs]
  <binutils-64-bit-bfd>: Likewise.

Change-Id: If93b0a972570d75c7e26647b154be8afc76cf6e0

---
 gnu/packages/bootloaders.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index 7baf882bde..353b2c2a16 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -284,7 +284,7 @@ (define-public grub
                                    (arguments
                                     (substitute-keyword-arguments (package-arguments binutils)
                                       ((#:configure-flags flags ''())
-                                       `(cons "--enable-64-bit-bfd" ,flags)))))))
+                                       #~(cons* "--enable-64-bit-bfd" #$flags)))))))
                    (list (make-ld-wrapper "ld-wrapper-i386"
                                           #:binutils binutils)
                          binutils))
@@ -2078,7 +2078,7 @@ (define-public ipxe-qemu
                      (arguments
                        (substitute-keyword-arguments (package-arguments binutils)
                         ((#:configure-flags flags ''())
-                         `(cons "--enable-64-bit-bfd" ,flags)))))))
+                         #~(cons* "--enable-64-bit-bfd" #$flags)))))))
              (modify-inputs (package-native-inputs ipxe)
                (prepend edk2-tools
                         (make-ld-wrapper "ld-wrapper-64-bit-bfd"

base-commit: 87cc46aefce0072dc83e667d85a59a34eecfd89f
-- 
2.45.2