]> git.ipfire.org Git - thirdparty/systemd.git/commit
meson: Add support for building efi binaries on multilib
authorJan Janssen <medhefgo@web.de>
Wed, 2 Feb 2022 10:24:41 +0000 (11:24 +0100)
committerJan Janssen <medhefgo@web.de>
Thu, 7 Apr 2022 16:45:03 +0000 (18:45 +0200)
commit7faded269dec9347543b43654cdc99aabc461da7
treee93982b97b73d438ab291276db1889715e0af0c3
parentc0e4459e09b032161807755ed758685cb2827289
meson: Add support for building efi binaries on multilib

This allows building 32bit versions of efi binaries on x86_64 machines
and vice-versa by passing "-Defi-cflags=-m32" to meson, provided the
32bit gnu-efi and gcc-multilib are available.

It is expected that distros that want to provide both ia32 and x64
versions to use a second build dir to build the non-native version
by adding -m32 to efi-cflags and then running the sd-boot/sd-stub
ninja target directly.
src/boot/efi/meson.build