qt5base-lts/mkspecs
Benoît Thébaudeau fe1ba87961 Fix QMAKE_CXX/CROSS_COMPILE verification with ccache
The use of ccache leads to QMAKE_CXX definitions of the form:

    QMAKE_CXX = $${CCACHE} $${CROSS_COMPILE}g++

The previous test required QMAKE_CXX to be a single valid (absolute or
QMAKE_PATH_ENV-relative) path to an existing file, which was not
compatible with definitions of QMAKE_CXX like the one above.

Fix this by using only the first value in QMAKE_CXX, which usually
points to the compiler executable, or to the ccache executable in the
above case.

Task-number: QTBUG-47951
Change-Id: Iade3136f03493593b067fb7742fb997f92377425
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2015-09-14 09:42:25 +00:00
..
aix-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
aix-g++-64 Update copyright headers 2015-02-11 06:49:51 +00:00
aix-xlc Update copyright headers 2015-02-11 06:49:51 +00:00
aix-xlc-64 Update copyright headers 2015-02-11 06:49:51 +00:00
android-g++ Merge remote-tracking branch 'origin/5.4' into 5.5 2015-03-31 10:03:31 +02:00
blackberry-armle-v7-qcc Update copyright headers 2015-02-11 06:49:51 +00:00
blackberry-x86-qcc Update copyright headers 2015-02-11 06:49:51 +00:00
common WinRT: Deployqt version/copyright information to dlls 2015-09-13 22:03:11 +00:00
cygwin-g++ Makes sure that yacc works with the MSYS bison on Windows. 2015-07-20 16:09:07 +00:00
darwin-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
devices mkspecs: add option to enable boot2qt platform 2015-08-25 19:35:22 +00:00
features Fix QMAKE_CXX/CROSS_COMPILE verification with ccache 2015-09-14 09:42:25 +00:00
freebsd-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
freebsd-g++46 Update copyright headers 2015-02-11 06:49:51 +00:00
freebsd-icc Update copyright headers 2015-02-11 06:49:51 +00:00
haiku-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
hpux-acc Update copyright headers 2015-02-11 06:49:51 +00:00
hpux-acc-64 Update copyright headers 2015-02-11 06:49:51 +00:00
hpux-acc-o64 Update copyright headers 2015-02-11 06:49:51 +00:00
hpux-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
hpux-g++-64 Update copyright headers 2015-02-11 06:49:51 +00:00
hpuxi-acc-32 Update copyright headers 2015-02-11 06:49:51 +00:00
hpuxi-acc-64 Update copyright headers 2015-02-11 06:49:51 +00:00
hpuxi-g++-64 Update copyright headers 2015-02-11 06:49:51 +00:00
hurd-g++ centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
irix-cc Update copyright headers 2015-02-11 06:49:51 +00:00
irix-cc-64 Update copyright headers 2015-02-11 06:49:51 +00:00
irix-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
irix-g++-64 Update copyright headers 2015-02-11 06:49:51 +00:00
linux-arm-gnueabi-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
linux-clang Update copyright headers 2015-02-11 06:49:51 +00:00
linux-clang-libc++ Update copyright headers 2015-02-11 06:49:51 +00:00
linux-cxx Update copyright headers 2015-02-11 06:49:51 +00:00
linux-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
linux-g++-32 Update copyright headers 2015-02-11 06:49:51 +00:00
linux-g++-64 Update copyright headers 2015-02-11 06:49:51 +00:00
linux-icc Add a linker version script to Qt libraries 2015-09-13 18:54:17 +00:00
linux-icc-32 Update copyright headers 2015-02-11 06:49:51 +00:00
linux-icc-64 Update copyright headers 2015-02-11 06:49:51 +00:00
linux-kcc Update copyright headers 2015-02-11 06:49:51 +00:00
linux-llvm Update copyright headers 2015-02-11 06:49:51 +00:00
linux-lsb-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
linux-pgcc Update copyright headers 2015-02-11 06:49:51 +00:00
lynxos-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
macx-clang Update copyright headers 2015-02-11 06:49:51 +00:00
macx-clang-32 Update copyright headers 2015-02-11 06:49:51 +00:00
macx-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
macx-g++40 Update copyright headers 2015-02-11 06:49:51 +00:00
macx-g++42 Update copyright headers 2015-02-11 06:49:51 +00:00
macx-g++-32 Update copyright headers 2015-02-11 06:49:51 +00:00
macx-icc Add detection of C++14 and C++1z compiler features 2015-09-05 23:05:40 +00:00
macx-ios-clang iOS: filter out iWatch devices when running auto tests 2015-09-11 08:26:53 +00:00
macx-llvm Update copyright headers 2015-02-11 06:49:51 +00:00
macx-xcode Add XCTest logger backend to QtTestLib 2015-03-27 16:53:43 +00:00
modules Adjust wiki links to the new redirect 2015-03-04 15:36:12 +00:00
netbsd-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
openbsd-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
qnx-armle-v7-qcc Update copyright headers 2015-02-11 06:49:51 +00:00
qnx-x86-qcc Update copyright headers 2015-02-11 06:49:51 +00:00
sco-cc Update copyright headers 2015-02-11 06:49:51 +00:00
sco-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
solaris-cc Update copyright headers 2015-02-11 06:49:51 +00:00
solaris-cc-64 Update copyright headers 2015-02-11 06:49:51 +00:00
solaris-cc-64-stlport Update copyright headers 2015-02-11 06:49:51 +00:00
solaris-cc-stlport Update copyright headers 2015-02-11 06:49:51 +00:00
solaris-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
solaris-g++-64 Update copyright headers 2015-02-11 06:49:51 +00:00
tru64-cxx Update copyright headers 2015-02-11 06:49:51 +00:00
tru64-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
unixware-cc Update copyright headers 2015-02-11 06:49:51 +00:00
unixware-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
unsupported Add a linker version script to Qt libraries 2015-09-13 18:54:17 +00:00
win32-g++ Add detection of C++14 and C++1z compiler features 2015-09-05 23:05:40 +00:00
win32-icc Add detection of C++14 and C++1z compiler features 2015-09-05 23:05:40 +00:00
win32-msvc2005 centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
win32-msvc2008 centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
win32-msvc2010 centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
win32-msvc2012 centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
win32-msvc2013 centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
win32-msvc2015 centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
wince60standard-armv4i-msvc2005 Update copyright headers 2015-02-11 06:49:51 +00:00
wince60standard-x86-msvc2005 Update copyright headers 2015-02-11 06:49:51 +00:00
wince70embedded-armv4i-msvc2008 Update copyright headers 2015-02-11 06:49:51 +00:00
wince70embedded-x86-msvc2008 Update copyright headers 2015-02-11 06:49:51 +00:00
wince80colibri-armv7-msvc2012 Added Mkspec for Toradex WEC2013 SDK 2015-07-06 10:57:17 +00:00
winphone-arm-msvc2013 WinRT: Deployqt version/copyright information to dlls 2015-09-13 22:03:11 +00:00
winphone-x86-msvc2013 WinRT: Deployqt version/copyright information to dlls 2015-09-13 22:03:11 +00:00
winrt-arm-msvc2013 Update copyright headers 2015-02-11 06:49:51 +00:00
winrt-arm-msvc2015 WinRT: Link against correct c-runtime 2015-08-07 10:33:01 +00:00
winrt-x64-msvc2013 Update copyright headers 2015-02-11 06:49:51 +00:00
winrt-x64-msvc2015 WinRT: Link against correct c-runtime 2015-08-07 10:33:01 +00:00
winrt-x86-msvc2013 Update copyright headers 2015-02-11 06:49:51 +00:00
winrt-x86-msvc2015 WinRT: Link against correct c-runtime 2015-08-07 10:33:01 +00:00