summaryrefslogtreecommitdiffstats
path: root/configure.json
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-05-23 12:44:07 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-05-23 12:44:07 +0200
commitd212c179db318a20d74592b02dd57b9bb1b668ce (patch)
tree2cba257d70a7d00bed3766f2ca96f9a75bf0e365 /configure.json
parent804a18ef0ec4a054778e223c8cec6ee26dec3f76 (diff)
Change default of optimize-debug to off for developer-builds
Backtraces with optimize-debug are less useful due to scoped variables no longer alive, and some gcc bugs with inlining. Fixes: QTBUG-75514 Change-Id: I6d62441047daee8f7079d1538dfc92015dd7ea63 Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'configure.json')
-rw-r--r--configure.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.json b/configure.json
index 9fce6d039e..cffef79a6a 100644
--- a/configure.json
+++ b/configure.json
@@ -639,6 +639,7 @@
},
"optimize_debug": {
"label": "Optimize debug build",
+ "autoDetect": "!features.developer-build",
"condition": "!config.msvc && !config.clang && (features.debug || features.debug_and_release) && tests.optimize_debug",
"output": [ "privateConfig" ]
},