diff --git a/debian/rules b/debian/rules index 64371b6f21f..d8b22634b92 100755 --- a/debian/rules +++ b/debian/rules @@ -81,6 +81,13 @@ ifneq ($(filter arm64,$(DEB_HOST_ARCH)),) -DMIR_RUN_ACCEPTANCE_TESTS=OFF \ -DMIR_PLATFORM=$(AVAILABLE_PLATFORMS) \ $(OVERRIDE_CONFIGURE_OPTIONS) +else +ifneq ($(filter riscv64,$(DEB_HOST_ARCH)),) + dh_auto_configure -- \ + $(COMMON_CONFIGURE_OPTIONS) \ + -DMIR_RUN_WINDOW_MANAGEMENT_TESTS=OFF \ + -DMIR_PLATFORM=$(AVAILABLE_PLATFORMS) \ + $(OVERRIDE_CONFIGURE_OPTIONS) else dh_auto_configure -- \ $(COMMON_CONFIGURE_OPTIONS) \