Signed-off-by: Lei Maohui <leimao...@cn.fujitsu.com>
---
 .../qtbase/0001-Modified-to-support-armv8BE.patch  | 26 ++++++++++++++++++++++
 recipes-qt/qt5/qtbase_git.bb                       |  1 +
 2 files changed, 27 insertions(+)
 create mode 100644 recipes-qt/qt5/qtbase/0001-Modified-to-support-armv8BE.patch

diff --git a/recipes-qt/qt5/qtbase/0001-Modified-to-support-armv8BE.patch 
b/recipes-qt/qt5/qtbase/0001-Modified-to-support-armv8BE.patch
new file mode 100644
index 0000000..e10b092
--- /dev/null
+++ b/recipes-qt/qt5/qtbase/0001-Modified-to-support-armv8BE.patch
@@ -0,0 +1,26 @@
+From de9318e093cb4b5f15b17234c09afb3c03274607 Mon Sep 17 00:00:00 2001
+From: Lei Maohui <leimao...@cn.fujitsu.com>
+Date: Thu, 21 Jun 2018 09:38:55 +0900
+Subject: [PATCH] Modified to support armv8BE.
+
+Signed-off-by: Lei Maohui <leimao...@cn.fujitsu.com>
+---
+ src/3rdparty/double-conversion/include/double-conversion/utils.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/3rdparty/double-conversion/include/double-conversion/utils.h 
b/src/3rdparty/double-conversion/include/double-conversion/utils.h
+index 20bfd36..a140c29 100644
+--- a/src/3rdparty/double-conversion/include/double-conversion/utils.h
++++ b/src/3rdparty/double-conversion/include/double-conversion/utils.h
+@@ -65,7 +65,7 @@
+     defined(__sparc__) || defined(__sparc) || defined(__s390__) || \
+     defined(__SH4__) || defined(__alpha__) || \
+     defined(_MIPS_ARCH_MIPS32R2) || \
+-    defined(__AARCH64EL__)
++    defined(__AARCH64EL__) || defined(__AARCH64EB__) || defined(__ARM_PCS_VFP)
+ #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
+ #elif defined(_M_IX86) || defined(__i386__) || defined(__i386)
+ #if defined(_WIN32)
+-- 
+2.7.4
+
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb
index 3064b74..cf0f30d 100644
--- a/recipes-qt/qt5/qtbase_git.bb
+++ b/recipes-qt/qt5/qtbase_git.bb
@@ -31,6 +31,7 @@ SRC_URI += "\
     file://0010-linux-clang-Invert-conditional-for-defining-QT_SOCKL.patch \
     file://0011-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch \
     file://0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch \
+    file://0001-Modified-to-support-armv8BE.patch \
 "
 
 # LGPL-3.0 is used only in src/plugins/platforms/android/extract.cpp
-- 
2.7.4



-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to