summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtbase/0002-configure-Separate-host-and-build-platform.patch
diff options
context:
space:
mode:
authorMikko Gronoff <mikko.gronoff@qt.io>2016-09-08 15:31:48 +0300
committerMikko Gronoff <mikko.gronoff@qt.io>2016-09-09 10:47:33 +0000
commit8d3770b5fe81d13212d84151664ceb080fc60302 (patch)
tree07e371abd8430dccb767c666aa5e0c1faa37944c /recipes-qt/qt5/qtbase/0002-configure-Separate-host-and-build-platform.patch
parent70a09d3b12e3168d3e264eb572182d7f41540617 (diff)
downloadmeta-qt5-8d3770b5fe81d13212d84151664ceb080fc60302.tar.gz
qt5: Update submodules
Change-Id: I8e71a3c84b439361eee8788c8315957fb1364e5a Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Diffstat (limited to 'recipes-qt/qt5/qtbase/0002-configure-Separate-host-and-build-platform.patch')
-rw-r--r--recipes-qt/qt5/qtbase/0002-configure-Separate-host-and-build-platform.patch29
1 files changed, 13 insertions, 16 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 e596847b..70a71ff9 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 6b92250b1e3268c888319f76ca4cf6d9eee71b54 Mon Sep 17 00:00:00 2001 1From d98f945aade15bf49eb7c016d2eefd513351b360 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.
@@ -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 69d4285..17e4154 100755 54index bc5258c..f5db184 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
@@ -65,7 +65,7 @@ index 69d4285..17e4154 100755
65 LFLAGS="$SYSROOT_FLAG" 65 LFLAGS="$SYSROOT_FLAG"
66 INCLUDEPATH="" 66 INCLUDEPATH=""
67 CFLAGS="$SYSROOT_FLAG" 67 CFLAGS="$SYSROOT_FLAG"
68@@ -70,7 +72,8 @@ test -r Makefile && $MAKE distclean >/dev/null 2>&1 68@@ -73,7 +75,8 @@ test -r Makefile && $MAKE distclean >/dev/null 2>&1
69 rm -f "$EXE" "${EXE}.exe" 69 rm -f "$EXE" "${EXE}.exe"
70 70
71 set -- \ 71 set -- \
@@ -76,7 +76,7 @@ index 69d4285..17e4154 100755
76 -spec "$QMKSPEC" \ 76 -spec "$QMKSPEC" \
77 "CONFIG+=$QMAKE_CONFIG" \ 77 "CONFIG+=$QMAKE_CONFIG" \
78diff --git a/configure b/configure 78diff --git a/configure b/configure
79index 2da6a78..85123e9 100755 79index 55b1886..ef9c29b 100755
80--- a/configure 80--- a/configure
81+++ b/configure 81+++ b/configure
82@@ -105,9 +105,11 @@ QT_CONFIG= 82@@ -105,9 +105,11 @@ QT_CONFIG=
@@ -394,16 +394,16 @@ index 2da6a78..85123e9 100755
394 [ -n "$PKG_CONFIG" ] && [ "$OPT_VERBOSE" = "yes" ] && echo "Found pkg-config from mkspec: $PKG_CONFIG" 394 [ -n "$PKG_CONFIG" ] && [ "$OPT_VERBOSE" = "yes" ] && echo "Found pkg-config from mkspec: $PKG_CONFIG"
395 fi 395 fi
396 if [ -z "$PKG_CONFIG" ]; then 396 if [ -z "$PKG_CONFIG" ]; then
397@@ -4313,7 +4437,7 @@ compileTest() 397@@ -4317,7 +4441,7 @@ compileTest()
398 test_config="$QMAKE_CONFIG static" 398 TEST_CONFIG_FLAGS="QT_CONFIG+=no-pkg-config"
399 fi 399 fi
400 echo $ECHO_N "checking for $name... $ECHO_C" 400 echo $ECHO_N "checking for $name... $ECHO_C"
401- "$unixtests/compile.test" "$XQMAKESPEC" "$test_config" $OPT_VERBOSE "$relpath" "$outpath" "$path" "$name" $I_FLAGS $D_FLAGS $L_FLAGS "$@" 401- "$unixtests/compile.test" "$XQMAKESPEC" "$test_config" $OPT_VERBOSE "$relpath" "$outpath" "$path" "$name" $I_FLAGS $D_FLAGS $L_FLAGS $TEST_CONFIG_FLAGS "$@"
402+ "$unixtests/compile.test" "$XQMAKESPEC" "$test_config" $OPT_VERBOSE "$relpath" "$outpath" "$path" "$name" "$CFG_QMAKE_PATH" "$QTCONFFILE" $I_FLAGS $D_FLAGS $L_FLAGS "$@" 402+ "$unixtests/compile.test" "$XQMAKESPEC" "$test_config" $OPT_VERBOSE "$relpath" "$outpath" "$path" "$name" "$CFG_QMAKE_PATH" "$QTCONFFILE" $I_FLAGS $D_FLAGS $L_FLAGS $TEST_CONFIG_FLAGS "$@"
403 } 403 }
404 404
405 compileTestWithPkgConfig() 405 compileTestWithPkgConfig()
406@@ -4362,7 +4486,7 @@ compileTestWithPkgConfig() 406@@ -4366,7 +4490,7 @@ compileTestWithPkgConfig()
407 407
408 # Use config.tests/arch/arch.pro to have the compiler tell us what the target architecture is 408 # Use config.tests/arch/arch.pro to have the compiler tell us what the target architecture is
409 OUTFILE=$outpath/arch.result 409 OUTFILE=$outpath/arch.result
@@ -412,7 +412,7 @@ index 2da6a78..85123e9 100755
412 if [ $? -eq 0 ]; then 412 if [ $? -eq 0 ]; then
413 eval `cat "$OUTFILE"` 413 eval `cat "$OUTFILE"`
414 else 414 else
415@@ -4375,7 +4499,7 @@ rm -f "$OUTFILE" 2>/dev/null 415@@ -4379,7 +4503,7 @@ rm -f "$OUTFILE" 2>/dev/null
416 416
417 if [ "$QMAKESPEC" != "$XQMAKESPEC" ]; then 417 if [ "$QMAKESPEC" != "$XQMAKESPEC" ]; then
418 # Do the same test again, using the host compiler 418 # Do the same test again, using the host compiler
@@ -421,7 +421,7 @@ index 2da6a78..85123e9 100755
421 if [ $? -eq 0 ]; then 421 if [ $? -eq 0 ]; then
422 eval `cat "$OUTFILE"` 422 eval `cat "$OUTFILE"`
423 else 423 else
424@@ -4591,7 +4715,7 @@ fi 424@@ -4595,7 +4719,7 @@ fi
425 425
426 # detect mips_dsp support 426 # detect mips_dsp support
427 if [ "$CFG_ARCH" = "mips" ] && [ "${CFG_MIPS_DSP}" = "auto" ]; then 427 if [ "$CFG_ARCH" = "mips" ] && [ "${CFG_MIPS_DSP}" = "auto" ]; then
@@ -430,7 +430,7 @@ index 2da6a78..85123e9 100755
430 CFG_MIPS_DSP=yes 430 CFG_MIPS_DSP=yes
431 else 431 else
432 CFG_MIPS_DSP=no 432 CFG_MIPS_DSP=no
433@@ -4602,7 +4726,7 @@ fi 433@@ -4606,7 +4730,7 @@ fi
434 434
435 # detect mips_dspr2 support 435 # detect mips_dspr2 support
436 if [ "$CFG_ARCH" = "mips" ] && [ "${CFG_MIPS_DSPR2}" = "auto" ]; then 436 if [ "$CFG_ARCH" = "mips" ] && [ "${CFG_MIPS_DSPR2}" = "auto" ]; then
@@ -439,7 +439,7 @@ index 2da6a78..85123e9 100755
439 CFG_MIPS_DSPR2=yes 439 CFG_MIPS_DSPR2=yes
440 else 440 else
441 CFG_MIPS_DSPR2=no 441 CFG_MIPS_DSPR2=no
442@@ -7495,7 +7619,7 @@ rm -f "$QMAKE_VARS_FILE" 2>/dev/null 442@@ -7500,7 +7624,7 @@ rm -f "$QMAKE_VARS_FILE" 2>/dev/null
443 cd .. 443 cd ..
444 fi 444 fi
445 445
@@ -640,6 +640,3 @@ index 98ca86a..11cff9e 100644
640 $$files($$PWD/mkspecs/*) 640 $$files($$PWD/mkspecs/*)
641 mkspecs.files -= $$PWD/mkspecs/modules $$PWD/mkspecs/modules-inst 641 mkspecs.files -= $$PWD/mkspecs/modules $$PWD/mkspecs/modules-inst
642 INSTALLS += mkspecs 642 INSTALLS += mkspecs
643--
6441.9.1
645