]> git.ipfire.org Git - thirdparty/systemd.git/commit - meson.build
boot: Fix build for x32
authorJan Janssen <medhefgo@web.de>
Sun, 9 Jul 2023 17:30:27 +0000 (19:30 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 10 Jul 2023 10:09:28 +0000 (11:09 +0100)
commit7ea44f1733821f7d79f08236c565638eef18782d
tree9ea9b01c9dc34af9833a2647cf494f12a5be2160
parente1819eb062241c3c565f6fb7f4ec067e06bc55bd
boot: Fix build for x32

When building on a x32 system we need to explicitly pass `-m64` to get
the right ABI as the kernel and EFI are still 64bit. For this to
actually work, a suitable multilib compiler, 32bit libc headers and
libgcc need to be installed (similar to ia32 builds on x86_64).
meson.build
src/boot/efi/efi.h
src/boot/efi/meson.build