Summary: | =media-gfx/librecad-2.0.3 does not respect CXXFLAGS (-g) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chema Alonso Josa (RETIRED) <nimiux> |
Component: | Current packages | Assignee: | Sławek Lis (RETIRED) <slis> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 243502 |
Description
Chema Alonso Josa (RETIRED)
2014-07-15 17:35:27 UTC
In file 'common.pri' there is definition: QMAKE_CXXFLAGS_DEBUG += -std=c++11 -g QMAKE_CXXFLAGS += -std=c++11 -g which makes a '-g' flag obligatory in any case (debug and release). I don't see any sense of this, but I'd like to ask upstream before patching that. That prevents the user from using other debug flag, for instance: CXXFLAGS="-ggdb" emerge -1 librecad x86_64-pc-linux-gnu-g++ -c -ggdb -std=c++11 -g -Wall -W -fPIC -D_REENTRANT -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I../../generated/lib/jwwlib/moc -o ../../generated/lib/jwwlib/obj/dl_writer_ascii.o src/dl_writer_ascii.cpp Would use -g rather than -ggdb |