diff options
author | Jan Janssen <medhefgo@web.de> | 2021-12-29 15:02:04 +0100 |
---|---|---|
committer | Jan Janssen <medhefgo@web.de> | 2022-01-02 10:18:26 +0100 |
commit | 52adf0e91ef00d21a2e83f7669d0823667ce6b6c (patch) | |
tree | 504074b4a7dcabb9ba25ad8a875f7dfbeef97dae /meson_options.txt | |
parent | build(deps): bump meson from 0.60.2 to 0.60.3 in /.github/workflows (diff) | |
download | systemd-52adf0e91ef00d21a2e83f7669d0823667ce6b6c.tar.xz systemd-52adf0e91ef00d21a2e83f7669d0823667ce6b6c.zip |
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.
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 2 |
1 files changed, 0 insertions, 2 deletions
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'], |