build: Fix building on *BSD/riscv64

This commit is contained in:
Brad Smith
2025-10-20 16:34:18 -04:00
committed by Cameron Gutman
parent b4dc7ca7cb
commit c52a57f0ec

View File

@@ -180,7 +180,7 @@ bool StreamUtils::hasFastAes()
return getauxval(AT_HWCAP2) & HWCAP2_AES;
#elif defined(Q_OS_LINUX) && defined(Q_PROCESSOR_ARM) && QT_POINTER_SIZE == 8
return getauxval(AT_HWCAP) & HWCAP_AES;
#elif defined(Q_PROCESSOR_RISCV)
#elif defined(Q_OS_LINUX) && defined(Q_PROCESSOR_RISCV)
riscv_hwprobe pairs[1] = {
{ RISCV_HWPROBE_KEY_IMA_EXT_0, 0 },
};