From 16b7afc4de02f291f7797ed21b4674431d5f55cd Mon Sep 17 00:00:00 2001 From: Yuhang Zhao <2546789017@qq.com> Date: Tue, 12 Mar 2019 20:35:19 +0800 Subject: Fix win32-clang-g++ build Change-Id: Ide803de12736d545807a4ae650ff8f8bce5dccd8 Reviewed-by: Friedemann Kleint Reviewed-by: Joerg Bornemann --- configure.bat | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'configure.bat') diff --git a/configure.bat b/configure.bat index 7cadd783ea..c341f9c972 100644 --- a/configure.bat +++ b/configure.bat @@ -161,6 +161,8 @@ if "%PLATFORM%" == "" ( set PLATFORM=win32-msvc ) else if not "%clang-cl.exe%" == "" ( set PLATFORM=win32-clang-msvc + ) else if not "%clang.exe%" == "" ( + set PLATFORM=win32-clang-g++ ) else if not "%g++.exe%" == "" ( set PLATFORM=win32-g++ ) else ( @@ -172,7 +174,7 @@ if not exist "%QTSRC%\mkspecs\%PLATFORM%\qmake.conf" ( echo Host platform '%PLATFORM%' is invalid. Aborting. >&2 exit /b 1 ) -if "%PLATFORM:win32-g++=%" == "%PLATFORM%" ( +if "%PLATFORM:g++=%" == "%PLATFORM%" ( if "%MAKE%" == "" ( if not "%jom.exe%" == "" ( set MAKE=jom -- cgit v1.2.3