librcf: Fix build on aarch64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2017-04-07 00:49:16 +00:00
committed by Martin Jansa
parent 2ba483aecc
commit 95e5112481
2 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
Index: RCF-2.2.0.0/src/RCF/ByteOrdering.cpp
===================================================================
--- RCF-2.2.0.0.orig/src/RCF/ByteOrdering.cpp
+++ RCF-2.2.0.0/src/RCF/ByteOrdering.cpp
@@ -60,7 +60,7 @@ namespace RCF {
const ByteOrder MachineByteOrder = LittleEndian;
-#elif defined(__arm__)
+#elif defined(__arm__) || defined(__aarch64__)
const ByteOrder MachineByteOrder = LittleEndian;

View File

@@ -12,6 +12,7 @@ LIC_FILES_CHKSUM = "file://license.txt;md5=137c2935b51c95068a8b1bbd434ffe2d"
SRC_URI = "http://www.deltavsoft.com/downloads/RCF-${PV}.tar.gz \
file://0001-Add-CMake-build-files.patch \
file://aarch64-support.patch \
"
SRC_URI[md5sum] = "7ecb3c73f7eb66dba8790b659374f690"