summaryrefslogtreecommitdiffstats
path: root/configure.bat
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-01-31 08:45:47 +0100
committerLars Knoll <lars.knoll@qt.io>2020-02-03 17:43:30 +0100
commit7f67e91e55a40897923e38e37060e268f0a5ade4 (patch)
tree29856eed03bf52bd389356ff72a0177c92bdaa8c /configure.bat
parenteea82ab75d3a10fd3389b39ef226ffae52ae45ae (diff)
Don't compile qmake in c++11 mode
Change-Id: Ia43dd67f3b83263b4be16e468b8c22598db9ac78 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'configure.bat')
-rw-r--r--configure.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.bat b/configure.bat
index b34e146f5f..163e296874 100644
--- a/configure.bat
+++ b/configure.bat
@@ -261,7 +261,7 @@ if "%tmpl%" == "win32" (
echo QMAKESPEC = %PLATFORM%>> Makefile
) else (
echo QMAKESPEC = $^(SOURCE_PATH^)/mkspecs/%PLATFORM%>> Makefile
- echo CONFIG_CXXFLAGS = -std=c++11 -ffunction-sections>> Makefile
+ echo CONFIG_CXXFLAGS = -std=c++17 -ffunction-sections>> Makefile
echo CONFIG_LFLAGS = -Wl,--gc-sections>> Makefile
type "%QTSRC%\qmake\Makefile.unix.win32" >> Makefile
type "%QTSRC%\qmake\Makefile.unix.mingw" >> Makefile