qtbase/configure.json says it is "optimize_debug" option that adds it
Le ven. 15 févr. 2019 à 15:13, Konstantin Shegunov <kshegu...@gmail.com> a écrit : > > On Fri, Feb 15, 2019 at 4:05 PM Mitch Curtis <mitch.cur...@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 > _______________________________________________ > Interest mailing list > Interest@qt-project.org > https://lists.qt-project.org/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest