build: Fix building on *BSD/riscv64
This commit is contained in:
parent
b4dc7ca7cb
commit
c52a57f0ec
1 changed files with 1 additions and 1 deletions
|
|
@ -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 },
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue