summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtwebengine/0004-Set-arm_tune-to-empty-string-if-mtune-flag-is-not-se.patch
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2014-10-16 15:44:05 +1100
committerMartin Jansa <Martin.Jansa@gmail.com>2014-10-30 14:15:41 +0100
commit264f20883cae2c5e5222538b3f76e2145e72b1ab (patch)
tree6cfe17e35b1ad27aa344a81df1eaa82aedf13236 /recipes-qt/qt5/qtwebengine/0004-Set-arm_tune-to-empty-string-if-mtune-flag-is-not-se.patch
parent01f1ab8ee8ca31b39d097a913f9f6f8de89f5fb5 (diff)
downloadmeta-qt5-264f20883cae2c5e5222538b3f76e2145e72b1ab.tar.gz
qtwebengine: backport patches to fix ARM build failures
Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qtwebengine/0004-Set-arm_tune-to-empty-string-if-mtune-flag-is-not-se.patch')
-rw-r--r--recipes-qt/qt5/qtwebengine/0004-Set-arm_tune-to-empty-string-if-mtune-flag-is-not-se.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtwebengine/0004-Set-arm_tune-to-empty-string-if-mtune-flag-is-not-se.patch b/recipes-qt/qt5/qtwebengine/0004-Set-arm_tune-to-empty-string-if-mtune-flag-is-not-se.patch
new file mode 100644
index 00000000..a3842ecd
--- /dev/null
+++ b/recipes-qt/qt5/qtwebengine/0004-Set-arm_tune-to-empty-string-if-mtune-flag-is-not-se.patch
@@ -0,0 +1,34 @@
1From c99aed6ef28c4ac9c00024a40222331c0e682d28 Mon Sep 17 00:00:00 2001
2From: Andras Becsi <andras.becsi@digia.com>
3Date: Thu, 18 Sep 2014 18:22:37 +0200
4Subject: [PATCH 4/6] Set arm_tune to empty string if mtune flag is not set by
5 toolchain
6
7Since the default arm_tune option applied by chromium is not
8recognized by our gcc toolchain set arm_tune to empty string
9to prevent chromium from setting a default. Our toolchains
10set the arm version which already implies the corresponding
11mtune option anyway.
12
13Change-Id: I0291bd4f0e5706597d37f914e4eeefbd75397bbf
14Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
15---
16 src/core/gyp_run.pro | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/src/core/gyp_run.pro b/src/core/gyp_run.pro
20index ed592e1..4845af2 100644
21--- a/src/core/gyp_run.pro
22+++ b/src/core/gyp_run.pro
23@@ -47,7 +47,7 @@ cross_compile {
24 !isEmpty(MARCH): GYP_ARGS += "-D arm_arch=\"$$MARCH\""
25
26 MTUNE = $$extractCFlag("-mtune=.*")
27- !isEmpty(MTUNE): GYP_ARGS += "-D arm_tune=\"$$MTUNE\""
28+ GYP_ARGS += "-D arm_tune=\"$$MTUNE\""
29
30 MFLOAT = $$extractCFlag("-mfloat-abi=.*")
31 !isEmpty(MFLOAT): GYP_ARGS += "-D arm_float_abi=\"$$MFLOAT\""
32--
332.1.1
34