mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-25 01:08:22 +00:00
librcf: Fix build on aarch64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
13
meta-oe/recipes-devtools/librcf/librcf/aarch64-support.patch
Normal file
13
meta-oe/recipes-devtools/librcf/librcf/aarch64-support.patch
Normal 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;
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user