diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2016-11-17 15:01:59 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-01-26 17:47:25 +0000 |
commit | d03ba0e895a3719ce527f3d7ee9262fb26065332 (patch) | |
tree | 0d913ca6456fc9101adf883deb2d4b3487896ff9 /config_help.txt | |
parent | aab8e304ea66eaed990d5c53183e9547ce10190b (diff) |
Optimize debug builds when -Og is available
Enables optimizing with -Og if GCC has the option available, this
should produce faster debug binaries without compromising debugability.
Is a privateConfig to limit it to the default Qt build.
Includes two fixes for false positives of maybe_uninitialized triggered
by -Og on gcc 4.9.
Change-Id: I466d7a4070295714189024369312e6cbd36cfacf
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'config_help.txt')
-rw-r--r-- | config_help.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config_help.txt b/config_help.txt index ab86873310..e5553025c5 100644 --- a/config_help.txt +++ b/config_help.txt @@ -72,6 +72,8 @@ Build options: -debug ............... Build Qt with debugging turned on [no] -debug-and-release ... Build two versions of Qt, with and without debugging turned on [yes] (Apple and Windows only) + -optimize-debug ...... Enable debug-friendly optimizations in debug builds + [auto] (Not supported with MSVC) -optimized-tools ..... Build optimized host tools even in debug build [no] -force-debug-info .... Create symbol files for release builds [no] -separate-debug-info . Split off debug information to separate files [no] |