meson: use the host architecture compiler/linker for src/boot/efi
authorHelmut Grohne <helmut@subdivi.de>
Thu, 27 Sep 2018 15:17:37 +0000 (17:17 +0200)
committerFelipe Sateler <fsateler@debian.org>
Thu, 6 Dec 2018 00:03:34 +0000 (00:03 +0000)
commite73e547f18fe8479e8e303640fe00502db843f85
tree00a1a39a47303818045c19dfa350e2e293df5a63
parentbeda8d5159a0701af33ff1d33e9e952eb5b6cdb7
meson: use the host architecture compiler/linker for src/boot/efi

cross building systemd to arm64 presently fails, because the build
system uses plain gcc and plain ld (build architecture compiler and
linker respectively) for building src/boot/efi. These values come from
the efi-cc and efi-ld options respectively. It rather should be using
host tools here.

Fixes: b710072da441 ("add support for building efi modules")
(cherry picked from commit df7cacae696ae3c1d13d2f9a4db24815e07e29a1)

Gbp-Pq: Name meson-use-the-host-architecture-compiler-linker-for-src-b.patch
meson_options.txt
src/boot/efi/meson.build