mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-15 13:46:58 +02:00
qt6-quick3d: map armv6 to armv5 XR_ARCH_ABI for openxr
This commit is contained in:
parent
6d46906940
commit
5aa6a53fdb
1 changed files with 11 additions and 0 deletions
11
srcpkgs/qt6-quick3d/patches/armv6.patch
Normal file
11
srcpkgs/qt6-quick3d/patches/armv6.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/src/3rdparty/openxr/src/common/platform_utils.hpp 2024-11-19 13:01:12.000000000 +0100
|
||||
+++ - 2024-12-26 12:46:42.449259847 +0100
|
||||
@@ -47,7 +47,7 @@
|
||||
#define XR_ARCH_ABI "aarch64"
|
||||
#elif (defined(__ARM_ARCH) && __ARM_ARCH >= 7 && (defined(__ARM_PCS_VFP) || defined(__ANDROID__))) || defined(_M_ARM)
|
||||
#define XR_ARCH_ABI "armv7a-vfp"
|
||||
-#elif defined(__ARM_ARCH_5TE__)
|
||||
+#elif defined(__ARM_ARCH_5TE__) || (defined(__ARM_ARCH) && __ARM_ARCH > 5)
|
||||
#define XR_ARCH_ABI "armv5te"
|
||||
#elif defined(__mips64)
|
||||
#define XR_ARCH_ABI "mips64"
|
Loading…
Add table
Reference in a new issue