diff --git a/Make.defaults b/Make.defaults index cf7a88e..b8a32b6 100755 --- a/Make.defaults +++ b/Make.defaults @@ -204,6 +204,10 @@ ifeq ($(ARCH),mips64el) ARCH3264 = -mabi=64 endif +ifeq ($(ARCH),loongarch64) +EFI_CFLAGS += -mno-lsx -mno-lasx +endif + # # Set HAVE_EFI_OBJCOPY if objcopy understands --target efi-[app|bsdrv|rtdrv], # otherwise we need to compose the PE/COFF header using the assembler