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>
This commit is contained in:
parent
804a18ef0e
commit
d212c179db
@ -639,6 +639,7 @@
|
|||||||
},
|
},
|
||||||
"optimize_debug": {
|
"optimize_debug": {
|
||||||
"label": "Optimize debug build",
|
"label": "Optimize debug build",
|
||||||
|
"autoDetect": "!features.developer-build",
|
||||||
"condition": "!config.msvc && !config.clang && (features.debug || features.debug_and_release) && tests.optimize_debug",
|
"condition": "!config.msvc && !config.clang && (features.debug || features.debug_and_release) && tests.optimize_debug",
|
||||||
"output": [ "privateConfig" ]
|
"output": [ "privateConfig" ]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user