nativesdk-qt4-tools: fix do_configure to be reentrant

* without = it can add g++ prefix multiple time when you reexecute do_configure (e.g. after failure)

(From OE-Core rev: 4f891901bcf7be95cebca1a7296e7ea656adee74)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Martin Jansa 2012-12-05 22:59:02 +01:00 committed by Richard Purdie
parent 89230eaa76
commit 138669057d
1 changed files with 2 additions and 2 deletions

View File

@ -63,8 +63,8 @@ do_configure() {
if [ -f mkspecs/common/g++-base.conf ] ; then
# don't use host g++ even during configure (4.8.0+)
sed -i -e "s#g++#${CXX}#" mkspecs/common/g++-base.conf
sed -i -e "s#gcc#${CC}#" mkspecs/common/g++-base.conf
sed -i -e "s#= g++#= ${CXX}#" mkspecs/common/g++-base.conf
sed -i -e "s#= gcc#= ${CC}#" mkspecs/common/g++-base.conf
fi
# Use qmake from qt4-native for building