1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: ipxe-qemu: Fix build on x86-32.

* gnu/packages/bootloaders.scm (ipxe) [arguments] <#:phases>: Conditionally add
a 'fix-x86-align phase to fix (U)INT64 assertion failure on these arches.

Change-Id: I9481b41c563984e7cd120b3039c08fe086263f72
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
This commit is contained in:
André Batista
2025-09-17 16:58:59 -03:00
committed by Vagrant Cascadian
parent 09e7d188dd
commit 881038ccdc

View File

@@ -22,6 +22,7 @@
;;; Copyright © 2023 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2025 Esther Flashner <esther@flashner.co.il>
;;; Copyright © 2025 André Batista <nandre@riseup.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2031,6 +2032,13 @@ order to add a suitable bootloader menu entry.")
"/share/syslinux \\\n"
all))))))
#~())
#$@(if (target-x86-32?)
;; Otherwise (u)int64 assertion failure on this arch.
;; See <https://github.com/ipxe/ipxe/issues/1506>
#~((add-after 'enter-source-directory 'fix-x86-align
(lambda _
(setenv "HOST_EFI_CFLAGS" "-malign-double"))))
#~())
(delete 'configure) ; no configure script
(replace 'install
(lambda _