summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtwebengine/0001-chromium-Force-host-toolchain-configuration.patch
diff options
context:
space:
mode:
authorMikko Gronoff <mikko.gronoff@qt.io>2018-01-29 12:48:12 +0200
committerMikko Gronoff <mikko.gronoff@qt.io>2018-01-29 12:52:10 +0200
commita358108b09762390ec951f560540bb99aaf9f2a2 (patch)
tree6d9e6c078f46403bb2e76a25f4aa56c990c23083 /recipes-qt/qt5/qtwebengine/0001-chromium-Force-host-toolchain-configuration.patch
parentc32de2f746d944f515e9e47dd330dfb64b3ca280 (diff)
parentce766374432309b85fdcfe8ef287dbb2ef11b337 (diff)
downloadmeta-qt5-a358108b09762390ec951f560540bb99aaf9f2a2.tar.gz
Merge remote-tracking branch 'qtyocto/upstream/master' into 5.10
* qtyocto/upstream/master: qt: refresh remaining patches and tags in meta-qt5 repos qtwebengine: explicitly depend on bison-native qtmqtt: add recipe qtbase: fix a regression qtbase: introduce QT_EDITION packagegroup-qt5-qtcreator-debug: remove qtdeclarative-plugins Conflicts: recipes-qt/qt5/qtquickcontrols/0001-texteditor-fix-invalid-use-of-incomplete-type-class-.patch recipes-qt/qt5/qtquickcontrols_git.bb recipes-qt/qt5/qtserialbus_git.bb Task-number: QTBUG-65164 Change-Id: Ifdb2bba80e68de28ec818fff2b2716645eb4d9c5
Diffstat (limited to 'recipes-qt/qt5/qtwebengine/0001-chromium-Force-host-toolchain-configuration.patch')
-rw-r--r--recipes-qt/qt5/qtwebengine/0001-chromium-Force-host-toolchain-configuration.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtwebengine/0001-chromium-Force-host-toolchain-configuration.patch b/recipes-qt/qt5/qtwebengine/0001-chromium-Force-host-toolchain-configuration.patch
new file mode 100644
index 00000000..66b18384
--- /dev/null
+++ b/recipes-qt/qt5/qtwebengine/0001-chromium-Force-host-toolchain-configuration.patch
@@ -0,0 +1,33 @@
1From 0d33ce775fdd1ee1befe2016ea3f6860d4c6e389 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Wed, 15 Mar 2017 13:53:28 +0200
4Subject: [PATCH] chromium: Force host toolchain configuration
5
6Force gcc/g++ to be used for parts using host toolchain, since
7the option(host_build) does not work in yocto builds.
8
9Upstream-Status: Inappropriate [OE specific]
10Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
11Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
12---
13 chromium/tools/gn/bootstrap/bootstrap.py | 6 +++---
14 1 file changed, 3 insertions(+), 3 deletions(-)
15
16diff --git a/chromium/tools/gn/bootstrap/bootstrap.py b/chromium/tools/gn/bootstrap/bootstrap.py
17index b1ff7e7..bccabbb 100755
18--- a/chromium/tools/gn/bootstrap/bootstrap.py
19+++ b/chromium/tools/gn/bootstrap/bootstrap.py
20@@ -318,10 +318,10 @@ def write_gn_ninja(path, root_gen_dir, options):
21 ld = os.environ.get('LD', cxx)
22 ar = os.environ.get('AR', 'ar -X64')
23 else:
24- cc = os.environ.get('CC', 'cc')
25- cxx = os.environ.get('CXX', 'c++')
26+ cc = os.environ.get('CC_host', 'gcc')
27+ cxx = os.environ.get('CXX_host', 'g++')
28 ld = cxx
29- ar = os.environ.get('AR', 'ar')
30+ ar = os.environ.get('AR_host', 'ar')
31
32 # QTBUG-64759
33 # cflags = os.environ.get('CFLAGS', '').split()