[Interest] Disable -Og when configuring as developer build

Konstantin Shegunov kshegunov at gmail.com
Fri Feb 15 15:00:36 CET 2019

That flag's been a pain for me to debug the Qt codebase for a while now,
I'm really annoyed that configure generates it when using -developer-build.
Long story short it prevents me to do step-by-step with gdb as the compiler
reorders the code as it sees fit (no clue why). I remember I had found a
commit from about 2-3 years ago which introduced it, and even found how to
disable it, but for the life of me I couldn't find it again during my most
recent searches.
How can I disable the debug optimizations, and I mean completely?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190215/cf00a20f/attachment.html>

More information about the Interest mailing list