diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-03 21:52:54 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-17 16:10:02 +0200 |
commit | b78a292a584f084cc15715c3a68693b008ef6682 (patch) | |
tree | 8c6c649c586d57b615b08e3e59241002e0d6c52d /recipes-qt/qt5/qt5.inc | |
parent | de250e3d0e437df09a8f23ad7fdb5fc39f17f7e8 (diff) | |
download | meta-qt5-b78a292a584f084cc15715c3a68693b008ef6682.tar.gz |
qtbase: replace g++.conf and linux.conf with qmake.conf
* g++.conf and linux.conf were outdated a lot, lacking new options like
QMAKE_COMPILER causing a lot of warning like:
Project WARNING: qmake spec does not announce the compiler family. Guessed gcc.
* Instead of replacing whole common files, use custom qmake.conf which
overwrites common setting after including it
Diffstat (limited to 'recipes-qt/qt5/qt5.inc')
-rw-r--r-- | recipes-qt/qt5/qt5.inc | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/recipes-qt/qt5/qt5.inc b/recipes-qt/qt5/qt5.inc index 2a0ae591..b8d09fe3 100644 --- a/recipes-qt/qt5/qt5.inc +++ b/recipes-qt/qt5/qt5.inc | |||
@@ -56,21 +56,9 @@ QT_CONFIG_FLAGS += " \ | |||
56 | " | 56 | " |
57 | 57 | ||
58 | do_configure() { | 58 | do_configure() { |
59 | # set_arch | 59 | set_arch |
60 | set_endian | 60 | set_endian |
61 | 61 | ||
62 | if [ ! -e bin/qmake ]; then | ||
63 | ln -sf ${OE_QMAKE_QMAKE} bin/qmake | ||
64 | fi | ||
65 | |||
66 | if [ ! -e mkspecs/${TARGET_OS}-oe-g++ ]; then | ||
67 | ln -sf linux-g++ mkspecs/${TARGET_OS}-oe-g++ | ||
68 | fi | ||
69 | |||
70 | # replace common files with our version | ||
71 | cp -f ${WORKDIR}/g++.conf mkspecs/common/g++-unix.conf | ||
72 | cp -f ${WORKDIR}/linux.conf mkspecs/common/linux.conf | ||
73 | |||
74 | # Avoid problems with the linkers, since we want the linker to be g++ | 62 | # Avoid problems with the linkers, since we want the linker to be g++ |
75 | unset LD | 63 | unset LD |
76 | } | 64 | } |