[Interest] Disable -Og when configuring as developer build

Konstantin Shegunov kshegunov at gmail.com
Fri Feb 15 15:11:09 CET 2019


On Fri, Feb 15, 2019 at 4:05 PM Mitch Curtis <mitch.curtis at qt.io> wrote:

> Is it the -optimize-debug configure flag?
>

No, not really. The configure script adds it by default to all debug builds
as far as I could tell. Here's my configure line:
$> ./configure -developer-build -opensource -confirm-license -nomake
examples -nomake tests

and I get this as the compile command being executed:

g++ -c -include .pch/Qt5Gui -pipe -g -Og -std=c++1z -fvisibility=hidden
-fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wdate-time
-Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -Werror
-Wno-error=cpp -Wno-error=deprecated-declarations -Wno-error=strict-overflow
-Wno-error=implicit-fallthrough -D_REENTRANT -fPIC -DQT_NO_USING_NAMESPACE
-DQT_NO_FOREACH -DENABLE_PIXMAN_DRAWHELPERS
-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_GUI_LIB
-DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT
-DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS
-DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_CORE_LIB -I. -I../../include
-I../../include/QtGui -I../../include/QtGui/5.12.2
-I../../include/QtGui/5.12.2/QtGui -I.tracegen -isystem /usr/include/libdrm
-I../../include/QtCore/5.12.2 -I../../include/QtCore/5.12.2/QtCore
-I../../include/QtCore -I.moc -isystem /usr/include/libpng16
-I../../mkspecs/linux-g++ -o .obj/qstatictext.o text/qstatictext.cpp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190215/06c8a6de/attachment.html>


More information about the Interest mailing list