diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-09-24 07:15:59 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-09-24 07:15:59 +0000 |
| commit | d53d78aa62a30a1d51f122fffe70e9512d3c1a6a (patch) | |
| tree | 201a4fb289e9372cabe18b0e1b1628908ab9786f /aarch64-support.patch | |
| parent | f50f3918a2e2140fc8ee48523279e7235ea64921 (diff) | |
automatic import of libopenni2-dev
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__) |
