From 52adf0e91ef00d21a2e83f7669d0823667ce6b6c Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Wed, 29 Dec 2021 15:02:04 +0100 Subject: meson: Remove efi-cc option Changing the efi compiler this way doesn't really work. The gnu-efi header checks as well as supported compiler flag checks use the regular cc that meson detects. Changing the compiler this way will end up with bad compiler flags. For the very same reason, this does not work with a cross-compiler without going through proper meson cross-compilation steps either. The proper way to build systemd-boot with a different compiler is to use a different build folder and then just use the proper ninja build target to only build the bootloader/stub. --- meson_options.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'meson_options.txt') diff --git a/meson_options.txt b/meson_options.txt index 216eb7c118..fa8c0b5e3f 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -418,8 +418,6 @@ option('dbus', type : 'combo', choices : ['auto', 'true', 'false'], option('gnu-efi', type : 'combo', choices : ['auto', 'true', 'false'], description : 'gnu-efi support for sd-boot') -option('efi-cc', type : 'array', - description : 'the compiler to use for EFI modules') # Note that LLD does not support PE/COFF relocations # https://lists.llvm.org/pipermail/llvm-dev/2021-March/149234.html option('efi-ld', type : 'combo', choices : ['auto', 'bfd', 'gold'], -- cgit v1.2.1