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 | 32 |
1 files changed, 16 insertions, 16 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 169ed078..7bda76a2 100644 --- a/recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch +++ b/recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch | |||
| @@ -13,13 +13,26 @@ for the qmakes's host architecture. | |||
| 13 | Upstream-Status: Inappropriate [OE specific] | 13 | 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/config/linux.pri | 2 +- | ||
| 16 | src/buildtools/configure_host.pro | 14 +++++++------- | 17 | src/buildtools/configure_host.pro | 14 +++++++------- |
| 17 | src/buildtools/gn.pro | 4 ++-- | 18 | src/buildtools/gn.pro | 4 ++-- |
| 18 | src/core/config/linux.pri | 2 +- | ||
| 19 | 3 files changed, 10 insertions(+), 10 deletions(-) | 19 | 3 files changed, 10 insertions(+), 10 deletions(-) |
| 20 | 20 | ||
| 21 | diff --git a/src/buildtools/config/linux.pri b/src/buildtools/config/linux.pri | ||
| 22 | index 998aedc..b04db36 100644 | ||
| 23 | --- a/src/buildtools/config/linux.pri | ||
| 24 | +++ b/src/buildtools/config/linux.pri | ||
| 25 | @@ -124,7 +124,7 @@ contains(QT_ARCH, "mips") { | ||
| 26 | |||
| 27 | host_build { | ||
| 28 | gn_args += custom_toolchain=\"$$QTWEBENGINE_OUT_ROOT/src/toolchain:host\" | ||
| 29 | - GN_HOST_CPU = $$gnArch($$QT_ARCH) | ||
| 30 | + GN_HOST_CPU = $$gnArch($$QMAKE_HOST.arch) | ||
| 31 | gn_args += host_cpu=\"$$GN_HOST_CPU\" | ||
| 32 | # Don't bother trying to use system libraries in this case | ||
| 33 | gn_args += use_glib=false | ||
| 21 | diff --git a/src/buildtools/configure_host.pro b/src/buildtools/configure_host.pro | 34 | diff --git a/src/buildtools/configure_host.pro b/src/buildtools/configure_host.pro |
| 22 | index dd0d3e32..6312c867 100644 | 35 | index dd0d3e3..6312c86 100644 |
| 23 | --- a/src/buildtools/configure_host.pro | 36 | --- a/src/buildtools/configure_host.pro |
| 24 | +++ b/src/buildtools/configure_host.pro | 37 | +++ b/src/buildtools/configure_host.pro |
| 25 | @@ -4,7 +4,7 @@ TEMPLATE = aux | 38 | @@ -4,7 +4,7 @@ TEMPLATE = aux |
| @@ -58,7 +71,7 @@ index dd0d3e32..6312c867 100644 | |||
| 58 | " nm = \"$$which(nm)\" " \ | 71 | " nm = \"$$which(nm)\" " \ |
| 59 | " toolchain_args = { " \ | 72 | " toolchain_args = { " \ |
| 60 | diff --git a/src/buildtools/gn.pro b/src/buildtools/gn.pro | 73 | diff --git a/src/buildtools/gn.pro b/src/buildtools/gn.pro |
| 61 | index b6bf9cfc..ae419b1a 100644 | 74 | index 033202e..a8ca656 100644 |
| 62 | --- a/src/buildtools/gn.pro | 75 | --- a/src/buildtools/gn.pro |
| 63 | +++ b/src/buildtools/gn.pro | 76 | +++ b/src/buildtools/gn.pro |
| 64 | @@ -19,8 +19,8 @@ build_pass|!debug_and_release { | 77 | @@ -19,8 +19,8 @@ build_pass|!debug_and_release { |
| @@ -72,16 +85,3 @@ index b6bf9cfc..ae419b1a 100644 | |||
| 72 | 85 | ||
| 73 | msvc:!clang_cl: gn_gen_args += --use-lto | 86 | msvc:!clang_cl: gn_gen_args += --use-lto |
| 74 | 87 | ||
| 75 | diff --git a/src/core/config/linux.pri b/src/core/config/linux.pri | ||
| 76 | index f45c418f..df8ac00b 100644 | ||
| 77 | --- a/src/core/config/linux.pri | ||
| 78 | +++ b/src/core/config/linux.pri | ||
| 79 | @@ -123,7 +123,7 @@ contains(QT_ARCH, "mips") { | ||
| 80 | |||
| 81 | host_build { | ||
| 82 | gn_args += custom_toolchain=\"$$QTWEBENGINE_OUT_ROOT/src/toolchain:host\" | ||
| 83 | - GN_HOST_CPU = $$gnArch($$QT_ARCH) | ||
| 84 | + GN_HOST_CPU = $$gnArch($$QMAKE_HOST.arch) | ||
| 85 | gn_args += host_cpu=\"$$GN_HOST_CPU\" | ||
| 86 | # Don't bother trying to use system libraries in this case | ||
| 87 | gn_args += use_glib=false | ||
