summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtwebengine/0004-Generate-usable-qmake_extras.gypi.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qt/qt5/qtwebengine/0004-Generate-usable-qmake_extras.gypi.patch')
-rw-r--r--recipes-qt/qt5/qtwebengine/0004-Generate-usable-qmake_extras.gypi.patch71
1 files changed, 0 insertions, 71 deletions
diff --git a/recipes-qt/qt5/qtwebengine/0004-Generate-usable-qmake_extras.gypi.patch b/recipes-qt/qt5/qtwebengine/0004-Generate-usable-qmake_extras.gypi.patch
deleted file mode 100644
index 037b0e4e..00000000
--- a/recipes-qt/qt5/qtwebengine/0004-Generate-usable-qmake_extras.gypi.patch
+++ /dev/null
@@ -1,71 +0,0 @@
1From 324eab1b148df1e8330b2dbbd114ab696c163e46 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@theqtcompany.com>
3Date: Mon, 11 May 2015 13:47:06 +0300
4Subject: [PATCH 4/4] Generate usable qmake_extras.gypi
5
6Running qmake recursively does not take .depends into account, so
7the SUBDIRS need to be in correct order so that qmake_extras.gypi
8is used for the ninja files. Do no try to write compiler tools as
9it will break the build.
10
11Task-number: QTBUG-45706
12Upstream-Status: Pending
13---
14 src/core/core.pro | 7 ++++---
15 src/core/gyp_configure_host.pro | 3 ---
16 src/core/gyp_configure_target.pro | 3 ---
17 3 files changed, 4 insertions(+), 9 deletions(-)
18
19diff --git a/src/core/core.pro b/src/core/core.pro
20index cf00f39..747b711 100644
21--- a/src/core/core.pro
22+++ b/src/core/core.pro
23@@ -12,9 +12,7 @@ gyp_run.depends = core_gyp_generator
24 core_module.file = core_module.pro
25 core_module.depends = gyp_run
26
27-SUBDIRS += core_gyp_generator \
28- gyp_run \
29- core_module
30+SUBDIRS += core_gyp_generator
31
32 !win32 {
33 # gyp_configure_host.pro and gyp_configure_target.pro are phony pro files that
34@@ -28,3 +26,6 @@ SUBDIRS += core_gyp_generator \
35 gyp_run.depends += gyp_configure_host gyp_configure_target
36 SUBDIRS += gyp_configure_host gyp_configure_target
37 }
38+
39+SUBDIRS += gyp_run \
40+ core_module
41diff --git a/src/core/gyp_configure_host.pro b/src/core/gyp_configure_host.pro
42index eb94cb8..859bcbf 100644
43--- a/src/core/gyp_configure_host.pro
44+++ b/src/core/gyp_configure_host.pro
45@@ -6,9 +6,6 @@ option(host_build)
46
47 GYPI_CONTENTS = "{" \
48 " 'make_global_settings': [" \
49- " ['CC.host', '$$which($$QMAKE_CC)']," \
50- " ['CXX.host', '$$which($$QMAKE_CXX)']," \
51- " ['LD.host', '$$which($$QMAKE_LINK)'],"
52
53 GYPI_FILE = $$OUT_PWD/qmake_extras.gypi
54 !build_pass {
55diff --git a/src/core/gyp_configure_target.pro b/src/core/gyp_configure_target.pro
56index 2a59966..317d24a 100644
57--- a/src/core/gyp_configure_target.pro
58+++ b/src/core/gyp_configure_target.pro
59@@ -3,9 +3,6 @@ TEMPLATE = aux
60
61 TOOLCHAIN_INCLUDES = $${QMAKE_INCDIR_EGL} $${INCLUDEPATH} $${QMAKE_INCDIR}
62
63-GYPI_CONTENTS += " ['CC', '$$which($$QMAKE_CC)']," \
64- " ['CXX', '$$which($$QMAKE_CXX)']," \
65- " ['LD', '$$which($$QMAKE_LINK)'],"
66 GYPI_CONTENTS += " ]," \
67 " 'target_defaults': {" \
68 " 'target_conditions': [" \
69--
702.6.1
71