alnyan/yggdrasil: fix riscv64 build

This commit is contained in:
Mark Poliakov 2025-02-26 18:14:08 +02:00
parent 42f9cd9675
commit 4413af583b
2 changed files with 2 additions and 1 deletions

View File

@ -92,6 +92,7 @@ override ARCH := mips
endif endif
ifeq ($(findstring riscv64,$(ARCH)),riscv64) ifeq ($(findstring riscv64,$(ARCH)),riscv64)
override ARCH := riscv64 override ARCH := riscv64
MARCH ?= rv64gc
endif endif
ifeq ($(findstring loongarch64,$(ARCH)),loongarch64) ifeq ($(findstring loongarch64,$(ARCH)),loongarch64)
override ARCH := loongarch64 override ARCH := loongarch64

View File

@ -7,7 +7,7 @@ ifeq ($(LONG_DOUBLE_NOT_DOUBLE),1)
ifneq ($(filter $(ARCH),i387 amd64),) ifneq ($(filter $(ARCH),i387 amd64),)
SUBDIRS += ld80 SUBDIRS += ld80
else else
ifneq ($(filter $(ARCH),aarch64),) ifneq ($(filter $(ARCH),aarch64 riscv64),)
SUBDIRS += ld128 SUBDIRS += ld128
else else
endif endif