summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt/qt4/qt-4.8.0/qmake_cxx_eval.patch
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-01-03 13:41:33 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-04 12:08:31 +0000
commit670706d1d3e3b16636818584fec0441f70b793d9 (patch)
treec732b65f9e5049fb5694cdbe648f08f262f5e911 /meta/recipes-qt/qt4/qt-4.8.0/qmake_cxx_eval.patch
parent99a6e1a3a453c17575439723599da6bef62175bb (diff)
downloadpoky-670706d1d3e3b16636818584fec0441f70b793d9.tar.gz
qt4: add version 4.8.0
Version 4.8.0 makes a few minor changes in the internal build system - the following issues had to be worked around: * The -qt-gif configure option has been removed. This is actually the default and has been for some time, so remove it from qt4.inc. * The mkspecs have been refactored requiring us to copy our g++.conf file over the top of g++-unix.conf instead. Some modifications to this file were also necessary to remove some settings that are now in other conf files (and we don't modify those values in any case). * The LD environment variable needs to be unset during configure, or else the configure script overrides our value of QMAKE_LINK which selects ${CXX} as our linker. * QMAKE_CXX contains a reference to OE_QMAKE_CXX which the configure script does not expect and cannot expand and this results in webkit being disabled, so add a workaround for this. (From OE-Core rev: 6b2a5d15ad20573502142b635e6cab9bcfb3b40a) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt/qt4/qt-4.8.0/qmake_cxx_eval.patch')
-rw-r--r--meta/recipes-qt/qt4/qt-4.8.0/qmake_cxx_eval.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-qt/qt4/qt-4.8.0/qmake_cxx_eval.patch b/meta/recipes-qt/qt4/qt-4.8.0/qmake_cxx_eval.patch
new file mode 100644
index 0000000000..a82f0ff9d1
--- /dev/null
+++ b/meta/recipes-qt/qt4/qt-4.8.0/qmake_cxx_eval.patch
@@ -0,0 +1,20 @@
1Allow expansion of $(...) references in QMAKE_CXX (currently its value
2is $(OE_QMAKE_CXX)) in order to allow compiler version check to succeed
3which allows WebKit to be enabled.
4
5Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
6
7Index: qt-everywhere-opensource-src-4.8.0/configure
8===================================================================
9--- qt-everywhere-opensource-src-4.8.0.orig/configure
10+++ qt-everywhere-opensource-src-4.8.0/configure
11@@ -3322,7 +3322,8 @@ else
12 CFG_FRAMEWORK=no
13 fi
14
15-QMAKE_CONF_COMPILER=`getQMakeConf "$XQMAKESPEC" | grep "^QMAKE_CXX[^_A-Z0-9]" | sed "s,.* *= *\(.*\)$,\1," | tail -1`
16+QMAKE_CONF_COMPILER=`getQMakeConf "$XQMAKESPEC" | grep "^QMAKE_CXX[^_A-Z0-9]" | sed "s,.* *= *\(.*\)$,\1," | sed -n 's/$[(]\([0-9a-zA-Z_]*\)[)]/$\1/pg' | tail -1`
17+QMAKE_CONF_COMPILER=`eval "echo $QMAKE_CONF_COMPILER"`
18 TEST_COMPILER="$CXX"
19
20 [ -z "$TEST_COMPILER" ] && TEST_COMPILER=$QMAKE_CONF_COMPILER