diff options
Diffstat (limited to 'aarch64-support.patch')
| -rw-r--r-- | aarch64-support.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/aarch64-support.patch b/aarch64-support.patch index e34967a..d88fb16 100644 --- a/aarch64-support.patch +++ b/aarch64-support.patch @@ -31,3 +31,15 @@ index 0000000..2eb8966 +# 2014-era C++ sources: build against gnu++14 to stay clear of C++17 +# removals (dynamic exception specifications, the register keyword, etc.). +CFLAGS += -std=gnu++14 +diff --git a/ThirdParty/PSCommon/XnLib/Include/XnPlatform.h b/ThirdParty/PSCommon/XnLib/Include/XnPlatform.h +--- a/ThirdParty/PSCommon/XnLib/Include/XnPlatform.h ++++ b/ThirdParty/PSCommon/XnLib/Include/XnPlatform.h +@@ -53,6 +53,8 @@ + #include "Linux-x86/XnPlatformLinux-x86.h" + #elif (__linux__ && __arm__) + #include "Linux-Arm/XnPlatformLinux-Arm.h" ++#elif (__linux__ && __aarch64__) ++#include "Linux-x86/XnPlatformLinux-x86.h" + #elif _ARC + #include "ARC/XnPlaformARC.h" + #elif (__APPLE__) |
