diff options
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.patch | 20 |
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 @@ | |||
1 | Allow expansion of $(...) references in QMAKE_CXX (currently its value | ||
2 | is $(OE_QMAKE_CXX)) in order to allow compiler version check to succeed | ||
3 | which allows WebKit to be enabled. | ||
4 | |||
5 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
6 | |||
7 | Index: 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 | ||