diff --git a/source/Makefile.deps.mk b/source/Makefile.deps.mk index 331884b72..0c64d6a8d 100644 --- a/source/Makefile.deps.mk +++ b/source/Makefile.deps.mk @@ -81,6 +81,9 @@ ifneq (,$(filter aarch64%,$(TARGET_PROCESSOR))) CPU_AARCH64 = true CPU_ARM_OR_AARCH64 = true endif +ifneq (,$(filter riscv64%,$(TARGET_PROCESSOR))) +CPU_RISCV64 = true +endif # --------------------------------------------------------------------------------------------------------------------- # Set PKG_CONFIG (can be overridden by environment variable) diff --git a/source/modules/ysfx/Makefile b/source/modules/ysfx/Makefile index b8b910c51..d004702bd 100644 --- a/source/modules/ysfx/Makefile +++ b/source/modules/ysfx/Makefile @@ -44,6 +44,11 @@ YSFX_FLAGS += -pthread endif endif +ifeq ($(CPU_RISCV64),true) +# FIXME +YSFX_FLAGS += -DEEL_TARGET_PORTABLE +endif + ifeq ($(WASM),true) # FIXME YSFX_FLAGS += -DEEL_TARGET_PORTABLE