summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtwebengine/chromium/0004-chromium-Do-not-try-to-set-the-guessed-values-for.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qt/qt5/qtwebengine/chromium/0004-chromium-Do-not-try-to-set-the-guessed-values-for.patch')
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0004-chromium-Do-not-try-to-set-the-guessed-values-for.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0004-chromium-Do-not-try-to-set-the-guessed-values-for.patch b/recipes-qt/qt5/qtwebengine/chromium/0004-chromium-Do-not-try-to-set-the-guessed-values-for.patch
new file mode 100644
index 00000000..92e16f40
--- /dev/null
+++ b/recipes-qt/qt5/qtwebengine/chromium/0004-chromium-Do-not-try-to-set-the-guessed-values-for.patch
@@ -0,0 +1,41 @@
1From 6c43c38e14a889950f1401d484fe16594cac2c22 Mon Sep 17 00:00:00 2001
2From: Johannes Pointner <johannes.pointner@br-automation.com>
3Date: Fri, 3 May 2019 09:12:38 +0200
4Subject: [PATCH] chromium: Do not try to set the guessed values for
5
6 march/mtune/float-abi OE config machinary has computed these values already
7 and fed it via compiler cmdline to chromium build
8
9I think upstream should check for the values on compiler cmdline
10before overriding these
11
12Upstream-Status: Inappropriate [OE-Specific]
13
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15Signed-off-by: Johannes Pointner <johannes.pointner@br-automation.com>
16
17%% original patch: 0005-chromium-Do-not-try-to-set-the-guessed-values-for-ma.patch
18---
19 chromium/build/config/compiler/BUILD.gn | 9 ---------
20 1 file changed, 9 deletions(-)
21
22diff --git a/chromium/build/config/compiler/BUILD.gn b/chromium/build/config/compiler/BUILD.gn
23index c007eab8ec9..feb4340f522 100644
24--- a/chromium/build/config/compiler/BUILD.gn
25+++ b/chromium/build/config/compiler/BUILD.gn
26@@ -783,15 +783,6 @@ config("compiler_cpu_abi") {
27 } else if (current_cpu == "arm") {
28 if (is_clang && !is_android && !is_nacl) {
29 }
30- if (!is_nacl) {
31- cflags += [
32- "-march=$arm_arch",
33- "-mfloat-abi=$arm_float_abi",
34- ]
35- }
36- if (arm_tune != "") {
37- cflags += [ "-mtune=$arm_tune" ]
38- }
39 } else if (current_cpu == "arm64") {
40 if (is_clang && !is_android && !is_nacl && !is_fuchsia) {
41 }