summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtwebengine/0005-Fix-ARM-NEON-detection-for-mfpu-neon-vfpv4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qt/qt5/qtwebengine/0005-Fix-ARM-NEON-detection-for-mfpu-neon-vfpv4.patch')
-rw-r--r--recipes-qt/qt5/qtwebengine/0005-Fix-ARM-NEON-detection-for-mfpu-neon-vfpv4.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtwebengine/0005-Fix-ARM-NEON-detection-for-mfpu-neon-vfpv4.patch b/recipes-qt/qt5/qtwebengine/0005-Fix-ARM-NEON-detection-for-mfpu-neon-vfpv4.patch
new file mode 100644
index 00000000..943f6715
--- /dev/null
+++ b/recipes-qt/qt5/qtwebengine/0005-Fix-ARM-NEON-detection-for-mfpu-neon-vfpv4.patch
@@ -0,0 +1,30 @@
1From 1331c66c937f1c3e10e193932db2037dc38434e9 Mon Sep 17 00:00:00 2001
2From: Jonathan Liu <net147@gmail.com>
3Date: Wed, 15 Oct 2014 17:02:16 +1100
4Subject: [PATCH 5/6] Fix ARM NEON detection for -mfpu=neon-vfpv4
5
6Upstream-Status: Backport
7
8Change-Id: I972d3560d6aa2640a2702f219cf802d2476b1c6e
9Reviewed-by: Andras Becsi <andras.becsi@digia.com>
10Signed-off-by: Jonathan Liu <net147@gmail.com>
11---
12 src/core/gyp_run.pro | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/src/core/gyp_run.pro b/src/core/gyp_run.pro
16index 4845af2..66e97f4 100644
17--- a/src/core/gyp_run.pro
18+++ b/src/core/gyp_run.pro
19@@ -64,7 +64,7 @@ cross_compile {
20 # If the toolchain does not explicitly specify to use NEON instructions
21 # we use arm_neon_optional for ARMv7 and newer and let chromium decide
22 # about the mfpu option.
23- contains(MFPU, "neon"): GYP_ARGS += "-D arm_fpu=\"$$MFPU\" -D arm_neon=1"
24+ contains(MFPU, "neon")|contains(MFPU, "neon-vfpv4"): GYP_ARGS += "-D arm_fpu=\"$$MFPU\" -D arm_neon=1"
25 else:!lessThan(MARMV, 7): GYP_ARGS += "-D arm_neon=0 -D arm_neon_optional=1"
26 else: GYP_ARGS += "-D arm_fpu=\"$$MFPU\" -D arm_neon=0 -D arm_neon_optional=0"
27 }
28--
292.1.1
30