package: doxygen
severity: normal
version: 1.7.1-1
justification: SHOULD in policy

If you take a look at Debian policy packages should  be built -g -O2.

The doxygen debian/rules doesn't do this.  In addition, while it tries
to support a debug DEB_BUILD_OPTION, that option is not enough to
actually cause Doxygen to build with -g.  Instead, even with
DEB_BUILD_OPTIONS set to debug noopt nostrip, doxygen builds with -O2
and without -g.  As far as I can tell, this is in part because the
doxygen configure script completely ignores CFLAGS.

If you pass the --debug switch to configure, it builds -g  -O0.

So, the ideal fix in terms of policy compliance would be to change the
build system to build -g -O2 all the time.  If that's tricky, please
at least implement running configure with the --debug switch when the
debug DEB_BUILD_OPTION is passed.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to