diff options
Diffstat (limited to 'recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch')
-rw-r--r-- | recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch b/recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch index 8de23c76..d15af51e 100644 --- a/recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch +++ b/recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch | |||
@@ -14,8 +14,9 @@ Upstream-Status: Inappropriate [OE specific] | |||
14 | Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> | 14 | Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> |
15 | --- | 15 | --- |
16 | src/buildtools/configure_host.pro | 14 +++++++------- | 16 | src/buildtools/configure_host.pro | 14 +++++++------- |
17 | src/buildtools/gn.pro | 4 ++-- | ||
17 | src/core/config/linux.pri | 2 +- | 18 | src/core/config/linux.pri | 2 +- |
18 | 2 files changed, 8 insertions(+), 8 deletions(-) | 19 | 3 files changed, 10 insertions(+), 10 deletions(-) |
19 | 20 | ||
20 | diff --git a/src/buildtools/configure_host.pro b/src/buildtools/configure_host.pro | 21 | diff --git a/src/buildtools/configure_host.pro b/src/buildtools/configure_host.pro |
21 | index dd0d3e32..6312c867 100644 | 22 | index dd0d3e32..6312c867 100644 |
@@ -56,11 +57,26 @@ index dd0d3e32..6312c867 100644 | |||
56 | " ar = \"$$which(ar)\" " \ | 57 | " ar = \"$$which(ar)\" " \ |
57 | " nm = \"$$which(nm)\" " \ | 58 | " nm = \"$$which(nm)\" " \ |
58 | " toolchain_args = { " \ | 59 | " toolchain_args = { " \ |
60 | diff --git a/src/buildtools/gn.pro b/src/buildtools/gn.pro | ||
61 | index b6bf9cf..ae419b1 100644 | ||
62 | --- a/src/buildtools/gn.pro | ||
63 | +++ b/src/buildtools/gn.pro | ||
64 | @@ -19,8 +19,8 @@ build_pass|!debug_and_release { | ||
65 | gn_bootstrap = $$system_path($$absolute_path(gn/build/gen.py, $$src_3rd_party_dir)) | ||
66 | |||
67 | gn_gen_args = --no-last-commit-position --out-path $$out_path \ | ||
68 | - --cc \"$$which($$QMAKE_CC)\" --cxx \"$$which($$QMAKE_CXX)\" \ | ||
69 | - --ld \"$$which($$QMAKE_LINK)\" | ||
70 | + --cc \"$$which($$CC_host)\" --cxx \"$$which($$CXX_host)\" \ | ||
71 | + --ld \"$$which($$CXX_host)\" --ar \"$$which(ar)\" | ||
72 | |||
73 | msvc:!clang_cl: gn_gen_args += --use-lto | ||
74 | |||
59 | diff --git a/src/core/config/linux.pri b/src/core/config/linux.pri | 75 | diff --git a/src/core/config/linux.pri b/src/core/config/linux.pri |
60 | index 9fc8c6e8..f3768585 100644 | 76 | index 95b7a4b..db0658e 100644 |
61 | --- a/src/core/config/linux.pri | 77 | --- a/src/core/config/linux.pri |
62 | +++ b/src/core/config/linux.pri | 78 | +++ b/src/core/config/linux.pri |
63 | @@ -113,7 +113,7 @@ contains(QT_ARCH, "mips") { | 79 | @@ -116,7 +116,7 @@ contains(QT_ARCH, "mips") { |
64 | 80 | ||
65 | host_build { | 81 | host_build { |
66 | gn_args += custom_toolchain=\"$$QTWEBENGINE_OUT_ROOT/src/toolchain:host\" | 82 | gn_args += custom_toolchain=\"$$QTWEBENGINE_OUT_ROOT/src/toolchain:host\" |