Merge pull request #320 from bulwahn/master
libpoco: compiling with arm64 architecture
This commit is contained in:
commit
312e6c4ddd
|
@ -0,0 +1,24 @@
|
|||
From 9258e482d71f327020efa10b873b9623458f2985 Mon Sep 17 00:00:00 2001
|
||||
From: Aleksandar Fabijanic <alex@pocoproject.org>
|
||||
Date: Tue, 29 Jul 2014 10:46:52 -0500
|
||||
Subject: [PATCH] GH #508: Can't compile for arm64 architecture
|
||||
|
||||
Upstream-Status: Backport [from version 1.5.4]
|
||||
---
|
||||
Foundation/src/utils.h | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Foundation/src/utils.h b/Foundation/src/utils.h
|
||||
index dbd61a3..a25757c 100644
|
||||
--- a/Foundation/src/utils.h
|
||||
+++ b/Foundation/src/utils.h
|
||||
@@ -59,7 +59,8 @@
|
||||
defined(__mips__) || defined(__powerpc__) || \
|
||||
defined(__sparc__) || defined(__sparc) || defined(__s390__) || \
|
||||
defined(__SH4__) || defined(__alpha__) || \
|
||||
- defined(_MIPS_ARCH_MIPS32R2)
|
||||
+ defined(_MIPS_ARCH_MIPS32R2) || \
|
||||
+ defined(__AARCH64EL__)
|
||||
#define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
|
||||
#elif defined(_M_IX86) || defined(__i386__) || defined(__i386)
|
||||
#if defined(_WIN32)
|
|
@ -9,6 +9,8 @@ SRC_URI = "https://github.com/pocoproject/poco/archive/poco-${PV}-release.tar.gz
|
|||
SRC_URI[md5sum] = "4636d84055a434fde3a67396bf15924a"
|
||||
SRC_URI[sha256sum] = "f26bbd7879ad79b45630f8efa20b1c65f0ddf81dc44f169245d512d208c71e53"
|
||||
|
||||
SRC_URI += "file://9258e482d71f327020efa10b873b9623458f2985.patch"
|
||||
|
||||
S = "${WORKDIR}/poco-poco-${PV}-release"
|
||||
|
||||
EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=Release -DPOCO_UNBUNDLED=On"
|
||||
|
|
Loading…
Reference in New Issue