diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-03-30 04:04:20 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-17 16:10:02 +0200 |
commit | 85b0bb644509e04c0132dc027f288d6f22ffb19e (patch) | |
tree | 4ba4d82365fb1b2b103339ee91c5c6a862d14aee /recipes-qt/qt5/qt5.inc | |
parent | 2b5c531b22703025e67b2f207db91ea178f7ead5 (diff) | |
download | meta-qt5-85b0bb644509e04c0132dc027f288d6f22ffb19e.tar.gz |
qtbase: correctly configure
Diffstat (limited to 'recipes-qt/qt5/qt5.inc')
-rw-r--r-- | recipes-qt/qt5/qt5.inc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/recipes-qt/qt5/qt5.inc b/recipes-qt/qt5/qt5.inc index 8ed4c288..2a0ae591 100644 --- a/recipes-qt/qt5/qt5.inc +++ b/recipes-qt/qt5/qt5.inc | |||
@@ -56,6 +56,7 @@ QT_CONFIG_FLAGS += " \ | |||
56 | " | 56 | " |
57 | 57 | ||
58 | do_configure() { | 58 | do_configure() { |
59 | # set_arch | ||
59 | set_endian | 60 | set_endian |
60 | 61 | ||
61 | if [ ! -e bin/qmake ]; then | 62 | if [ ! -e bin/qmake ]; then |
@@ -66,13 +67,9 @@ do_configure() { | |||
66 | ln -sf linux-g++ mkspecs/${TARGET_OS}-oe-g++ | 67 | ln -sf linux-g++ mkspecs/${TARGET_OS}-oe-g++ |
67 | fi | 68 | fi |
68 | 69 | ||
69 | if [ -f mkspecs/common/g++-unix.conf ] ; then | 70 | # replace common files with our version |
70 | # mkspecs were refactored for 4.8.0 | 71 | cp -f ${WORKDIR}/g++.conf mkspecs/common/g++-unix.conf |
71 | cp -f ${WORKDIR}/g++.conf mkspecs/common/g++-unix.conf | 72 | cp -f ${WORKDIR}/linux.conf mkspecs/common/linux.conf |
72 | else | ||
73 | cp -f ${WORKDIR}/g++.conf mkspecs/common/g++.conf | ||
74 | fi | ||
75 | cp -f ${WORKDIR}/linux.conf mkspecs/common/ | ||
76 | 73 | ||
77 | # Avoid problems with the linkers, since we want the linker to be g++ | 74 | # Avoid problems with the linkers, since we want the linker to be g++ |
78 | unset LD | 75 | unset LD |