unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#72882] [PATCH core-updates] gnu: grub; ipxe-qemu: Fix build on 32-bit x86.
@ 2024-08-29 23:32 André Batista
  2024-08-30  8:44 ` bug#72882: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: André Batista @ 2024-08-29 23:32 UTC (permalink / raw)
  To: 72882; +Cc: André Batista, vagrant, ludo, efraim

* 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#72882: [PATCH core-updates] gnu: grub; ipxe-qemu: Fix build on 32-bit x86.
  2024-08-29 23:32 [bug#72882] [PATCH core-updates] gnu: grub; ipxe-qemu: Fix build on 32-bit x86 André Batista
@ 2024-08-30  8:44 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2024-08-30  8:44 UTC (permalink / raw)
  To: André Batista; +Cc: 72882-done, vagrant, efraim

Hi André,

André Batista <nandre@riseup.net> skribis:

> * 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

Applied, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-08-30  8:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-29 23:32 [bug#72882] [PATCH core-updates] gnu: grub; ipxe-qemu: Fix build on 32-bit x86 André Batista
2024-08-30  8:44 ` bug#72882: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).