summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2016-05-05 12:48:28 +0300
committerSamuli Piippo <samuli.piippo@qt.io>2016-05-17 06:46:46 +0000
commitafb62012ec358e12fcad06e8096be1f6ec13f1ba (patch)
tree7890be4bfb707d940d7a66bf7ed1a8f6cd442be3
parentd0266a92febaf578c4d940a97ca1f844af8384d5 (diff)
downloadmeta-qt5-afb62012ec358e12fcad06e8096be1f6ec13f1ba.tar.gz
qtbase: rebase patch
Change-Id: I1f7eda0065f10cff9e6465b001f2ae4ac8edbc8b Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
-rw-r--r--recipes-qt/qt5/qtbase/0002-configure-Separate-host-and-build-platform.patch27
1 files changed, 14 insertions, 13 deletions
diff --git a/recipes-qt/qt5/qtbase/0002-configure-Separate-host-and-build-platform.patch b/recipes-qt/qt5/qtbase/0002-configure-Separate-host-and-build-platform.patch
index 0b6aa544..bdacb469 100644
--- a/recipes-qt/qt5/qtbase/0002-configure-Separate-host-and-build-platform.patch
+++ b/recipes-qt/qt5/qtbase/0002-configure-Separate-host-and-build-platform.patch
@@ -1,4 +1,4 @@
1From b0e46ec8b5f3a220a1660677c87cefa5fc3a7fc9 Mon Sep 17 00:00:00 2001 1From eb70e52aa796576daa73027c93f2fba77861e4e2 Mon Sep 17 00:00:00 2001
2From: David Schulz <david.schulz@theqtcompany.com> 2From: David Schulz <david.schulz@theqtcompany.com>
3Date: Mon, 12 Oct 2015 09:55:30 +0200 3Date: Mon, 12 Oct 2015 09:55:30 +0200
4Subject: [PATCH] configure: Separate host and build platform. 4Subject: [PATCH] configure: Separate host and build platform.
@@ -14,7 +14,7 @@ runs on the build system.
14Change-Id: Ifd83a4c6376d3299647e74bb349a3452a6f433fc 14Change-Id: Ifd83a4c6376d3299647e74bb349a3452a6f433fc
15--- 15---
16 config.tests/unix/arch.test | 6 +- 16 config.tests/unix/arch.test | 6 +-
17 config.tests/unix/compile.test | 6 +- 17 config.tests/unix/compile.test | 7 +-
18 configure | 164 ++++++++++++++++++++++++++++++++----- 18 configure | 164 ++++++++++++++++++++++++++++++++-----
19 mkspecs/features/device_config.prf | 15 ++-- 19 mkspecs/features/device_config.prf | 15 ++--
20 mkspecs/features/qt_functions.prf | 2 +- 20 mkspecs/features/qt_functions.prf | 2 +-
@@ -22,7 +22,7 @@ Change-Id: Ifd83a4c6376d3299647e74bb349a3452a6f433fc
22 qmake/qmake-aux.pro | 11 +++ 22 qmake/qmake-aux.pro | 11 +++
23 qmake/qmake-docs.pro | 2 - 23 qmake/qmake-docs.pro | 2 -
24 qtbase.pro | 15 +--- 24 qtbase.pro | 15 +---
25 9 files changed, 210 insertions(+), 68 deletions(-) 25 9 files changed, 211 insertions(+), 68 deletions(-)
26 create mode 100644 qmake/qmake-aux.pro 26 create mode 100644 qmake/qmake-aux.pro
27 delete mode 100644 qmake/qmake-docs.pro 27 delete mode 100644 qmake/qmake-docs.pro
28 28
@@ -51,7 +51,7 @@ index c50bd8b..cfb47de 100755
51 51
52 ARCH="" 52 ARCH=""
53diff --git a/config.tests/unix/compile.test b/config.tests/unix/compile.test 53diff --git a/config.tests/unix/compile.test b/config.tests/unix/compile.test
54index 65bc874..45c365c 100755 54index 598e2a2..b33b74c 100755
55--- a/config.tests/unix/compile.test 55--- a/config.tests/unix/compile.test
56+++ b/config.tests/unix/compile.test 56+++ b/config.tests/unix/compile.test
57@@ -10,7 +10,9 @@ OUTDIR=$5 57@@ -10,7 +10,9 @@ OUTDIR=$5
@@ -64,18 +64,19 @@ index 65bc874..45c365c 100755
64+shift 9 64+shift 9
65 LFLAGS="$SYSROOT_FLAG" 65 LFLAGS="$SYSROOT_FLAG"
66 INCLUDEPATH="" 66 INCLUDEPATH=""
67 CXXFLAGS="$SYSROOT_FLAG" 67 CFLAGS="$SYSROOT_FLAG"
68@@ -67,7 +69,7 @@ test -r Makefile && $MAKE distclean >/dev/null 2>&1 68@@ -73,7 +75,8 @@ test -r Makefile && $MAKE distclean >/dev/null 2>&1
69 # Make sure output from possible previous tests is gone
70 rm -f "$EXE" "${EXE}.exe" 69 rm -f "$EXE" "${EXE}.exe"
71 70
72-set -- "$OUTDIR/bin/qmake" -nocache -spec "$QMKSPEC" "CONFIG+=$QMAKE_CONFIG" "CONFIG+=android_app" "CONFIG-=debug_and_release app_bundle lib_bundle" "LIBS+=$LFLAGS" "LIBS+=$MAC_ARCH_LFLAGS" "INCLUDEPATH*=$INCLUDEPATH" "QMAKE_CXXFLAGS*=$CXXFLAGS" "QMAKE_CXXFLAGS+=$MAC_ARCH_CXXFLAGS" "$SRCDIR/$TEST/$EXE.pro" -o "$OUTDIR/$TEST/Makefile" 71 set -- \
73+set -- "$QMAKE" -qtconf "$QTCONF" -nocache -spec "$QMKSPEC" "CONFIG+=$QMAKE_CONFIG" "CONFIG+=android_app" "CONFIG-=debug_and_release app_bundle lib_bundle" "LIBS+=$LFLAGS" "LIBS+=$MAC_ARCH_LFLAGS" "INCLUDEPATH*=$INCLUDEPATH" "QMAKE_CXXFLAGS*=$CXXFLAGS" "QMAKE_CXXFLAGS+=$MAC_ARCH_CXXFLAGS" "$SRCDIR/$TEST/$EXE.pro" -o "$OUTDIR/$TEST/Makefile" 72- "$OUTDIR/bin/qmake" \
74 if [ "$VERBOSE" = "yes" ]; then 73+ "$QMAKE" \
75 OUTDIR=$OUTDIR "$@" && $MAKE && SUCCESS=yes 74+ -qtconf "$QTCONF" \
76 else 75 -nocache \
76 -spec "$QMKSPEC" \
77 "CONFIG+=$QMAKE_CONFIG" \
77diff --git a/configure b/configure 78diff --git a/configure b/configure
78index 42e49c5..a244acb 100755 79index f833869..0d5cae0 100755
79--- a/configure 80--- a/configure
80+++ b/configure 81+++ b/configure
81@@ -104,9 +104,11 @@ QT_CONFIG= 82@@ -104,9 +104,11 @@ QT_CONFIG=