diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-11-21 20:42:51 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-11-22 03:18:37 +0000 |
commit | 7ce71f00911d3a8e139c6d4b4a3655863a413c4c (patch) | |
tree | 1a6602bc529b1c8294c2ee4e3d1c4a9b411615fa /header.LGPL | |
parent | f92aa8e931491efb208753fa079599c4c3a4e0e8 (diff) |
Disable -optimize-debug for Clang
It results in Xcode outputting a warning when debugging:
[app name] was compiled with optimization - stepping may behave oddly;
variables may not be available.
And the warning is correct, debugging is broken in this situation.
Likely caused by Clang treating -Og as -O1:
https://reviews.llvm.org/D24998
Change-Id: I25d6bf1e65c81cc5be92b9847f7d5dd6754a0177
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'header.LGPL')
0 files changed, 0 insertions, 0 deletions