[Interest] Optimizations in debug configuration

Konstantin Shegunov kshegunov at gmail.com
Fri Sep 23 23:37:54 CEST 2016


On Fri, Sep 23, 2016 at 5:31 AM, Thiago Macieira <thiago.macieira at intel.com>
wrote:
>
> The flag is not passed to the build.
>
> Debug builds use -O0 on Linux.
>

I'm building a module and what I observe is getting -g -O2 for
CONFIG+=debug. One thing I was able to infer was that
setting QMAKE_CXXFLAGS to nothing seems to solve it for me. I wouldn't even
dream of speculating why this is happening, it probably is my own
configuration, albeit the qt3d module compiles with -g -O2 when I call
qmake CONFIG+=debug on its root project file.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160924/ede6fa70/attachment.html>


More information about the Interest mailing list