mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-02-16 02:30:52 +00:00
build: Fix building on *BSD/riscv64
This commit is contained in:
committed by
Cameron Gutman
parent
b4dc7ca7cb
commit
c52a57f0ec
@@ -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 },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user