loongarch64: disable simd when build efi
authorXiaotian Wu <wuxiaotian@loongson.cn>
Wed, 27 Dec 2023 08:25:22 +0000 (16:25 +0800)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 7 Mar 2024 10:14:30 +0000 (19:14 +0900)
commitff37c9fcbe1d88a3ea0c6174ba8424e3ea14a82b
tree7d67ff1aca71a499cb1da36826f8acf99e8b1da2
parent61fbdd441f24492a40d733135b01805b8abc9203
loongarch64: disable simd when build efi

LoongArch does not yet support the `-mgeneral-regs-only` option, so when
compiling for EFI, we need to use the `-mno-lsx` and `-mno-lasx` options
to disable SIMD instructions.
src/boot/efi/meson.build