[oe-commits] Jonathan Liu : qt4: set QMAKE_COMPILER to gcc in mkspec

git at git.openembedded.org git at git.openembedded.org
Mon Jun 17 15:02:56 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: 6c78f629323bea0be44181d60e3ce45be0416093
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6c78f629323bea0be44181d60e3ce45be0416093

Author: Jonathan Liu <net147 at gmail.com>
Date:   Fri Jun 14 23:15:37 2013 +1000

qt4: set QMAKE_COMPILER to gcc in mkspec

This avoids the following warning when running qmake:
Project WARNING: qmake spec does not announce the compiler family.
Guessed gcc.

Signed-off-by: Jonathan Liu <net147 at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-qt/qt4/qt4-4.8.4/g++.conf |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/g++.conf b/meta/recipes-qt/qt4/qt4-4.8.4/g++.conf
index d34c62c..8755031 100644
--- a/meta/recipes-qt/qt4/qt4-4.8.4/g++.conf
+++ b/meta/recipes-qt/qt4/qt4-4.8.4/g++.conf
@@ -2,6 +2,8 @@
 # qmake configuration for common gcc
 #
 
+QMAKE_COMPILER = gcc
+
 QMAKE_CC       = $(OE_QMAKE_CC)
 QMAKE_CFLAGS       += -pipe $(OE_QMAKE_CFLAGS)
 QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += $(OE_QMAKE_CFLAGS)



More information about the Openembedded-commits mailing list