diff options
Diffstat (limited to '')
-rw-r--r-- | src/boot/efi/meson.build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/boot/efi/meson.build b/src/boot/efi/meson.build index 2a37b0a9ac..574feedb98 100644 --- a/src/boot/efi/meson.build +++ b/src/boot/efi/meson.build @@ -190,9 +190,9 @@ if have_gnu_efi '-znocombreloc', '-L', efi_libdir, efi_crt0] - if efi_arch == 'aarch64' or efi_arch == 'arm' - # Aarch64 and ARM32 don't have an EFI capable objcopy. Use 'binary' - # instead, and add required symbols manually. + if efi_arch == 'aarch64' or efi_arch == 'arm' or efi_arch == 'riscv64' + # Aarch64, ARM32 and 64bit RISC-V don't have an EFI capable objcopy. + # Use 'binary' instead, and add required symbols manually. efi_ldflags += ['--defsym=EFI_SUBSYSTEM=0xa'] efi_format = ['-O', 'binary'] else |