summaryrefslogtreecommitdiffstats
path: root/configure.json
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2019-12-19 15:50:52 +0100
committerKai Koehne <kai.koehne@qt.io>2020-01-06 12:58:11 +0100
commit935736b8489a14db2f0f979db37d3e07f18713eb (patch)
tree0f0e22c7edde6be08a19517785f12c454b9bd0b9 /configure.json
parentcca279338c5778fe09fa52384a1ffa5531885cf5 (diff)
MinGW: Build in release mode by default
Qt 5.14.0 switched the default from -debug-and-release to -debug only. Change this to -release, like on the other platforms. [ChangeLog][MinGW] Qt will by default be built in release mode. Use -debug-or-release to force the pre 5.14.0 default. Change-Id: I020268d0672c80cdc0259068c6dc2c743a794237 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'configure.json')
-rw-r--r--configure.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.json b/configure.json
index 23ef7625a6..644c864125 100644
--- a/configure.json
+++ b/configure.json
@@ -772,7 +772,7 @@
},
"debug": {
"label": "Build for debugging",
- "autoDetect": "features.developer-build || config.win32 || config.darwin"
+ "autoDetect": "features.developer-build || (config.win32 && !config.gcc) || config.darwin"
},
"debug_and_release": {
"label": "Compile libs in debug and release mode",