diff options
author | Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com> | 2015-08-28 21:17:19 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2015-09-14 09:42:25 +0000 |
commit | fe1ba879610c73075b10f274bba338af53a6bd43 (patch) | |
tree | 9c03503107a3fd1ee6bea9dade0c79bfb8a7958b /src/plugins/platforms/winrt/qwinrteglcontext.cpp | |
parent | a8bc96e9e5d18908d266e3dc614c00f25a0c2013 (diff) |
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>
Diffstat (limited to 'src/plugins/platforms/winrt/qwinrteglcontext.cpp')
0 files changed, 0 insertions, 0 deletions