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)
committerMichael Biebl <biebl@debian.org>
Tue, 20 Nov 2018 18:44:39 +0000 (18:44 +0000)
commit46aa69a12a8fee162580e356c189b382621cb05f
treedc2de9358f315e86eda6ef076752cf10ca455f11
parent12c6394db7f6bc154038e1cac229c329f8780862
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