diff --git a/setup.py b/setup.py index c3fcddf..ef3af8f 100644 --- a/setup.py +++ b/setup.py @@ -480,6 +480,12 @@ "-DWEBRTC_ARCH_32_BITS", "-DPFFFT_SIMD_DISABLE", ] +elif machine in ("riscv64"): + # 64-bit RISC-V + machine_cflags += [ + "-DWEBRTC_ARCH_RISCV", + "-DWEBRTC_ARCH_64_BITS", + ] else: raise ValueError(f"Unsupported machine: {machine}")