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>
Sat, 17 Nov 2018 17:39:21 +0000 (17:39 +0000)
commitb2b726197ddf1d9191dccfc49c84e6666deffee4
tree021b47e89b6f4627407cd0171c4a255699f127c4
parent1cf0e71cdaf96c531e5532a872f303742fe99c45
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