From: Jonathan Liu Date: Fri, 14 Jun 2013 13:15:37 +0000 (+1000) Subject: qt4: set QMAKE_COMPILER to gcc in mkspec X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~37003 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c78f629323bea0be44181d60e3ce45be0416093;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- 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 d34c62c3964..87550310177 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)