diff options
Diffstat (limited to 'meta/recipes-qt/qt4/qt4-4.8.1/qmake_cxx_eval.patch')
-rw-r--r-- | meta/recipes-qt/qt4/qt4-4.8.1/qmake_cxx_eval.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/qmake_cxx_eval.patch b/meta/recipes-qt/qt4/qt4-4.8.1/qmake_cxx_eval.patch new file mode 100644 index 0000000000..d5eac6b167 --- /dev/null +++ b/meta/recipes-qt/qt4/qt4-4.8.1/qmake_cxx_eval.patch | |||
@@ -0,0 +1,22 @@ | |||
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 | Upstream-Status: Pending | ||
8 | |||
9 | Index: qt-everywhere-opensource-src-4.8.0/configure | ||
10 | =================================================================== | ||
11 | --- qt-everywhere-opensource-src-4.8.0.orig/configure | ||
12 | +++ qt-everywhere-opensource-src-4.8.0/configure | ||
13 | @@ -3322,7 +3322,8 @@ else | ||
14 | CFG_FRAMEWORK=no | ||
15 | fi | ||
16 | |||
17 | -QMAKE_CONF_COMPILER=`getQMakeConf "$XQMAKESPEC" | grep "^QMAKE_CXX[^_A-Z0-9]" | sed "s,.* *= *\(.*\)$,\1," | tail -1` | ||
18 | +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` | ||
19 | +QMAKE_CONF_COMPILER=`eval "echo $QMAKE_CONF_COMPILER"` | ||
20 | TEST_COMPILER="$CXX" | ||
21 | |||
22 | [ -z "$TEST_COMPILER" ] && TEST_COMPILER=$QMAKE_CONF_COMPILER | ||