when trying to build ardour-2.9999 from the Pro-Audio overlay with debugging enabled, unfortunately the debug USE flag has no effect. i have confirmed this numerous times.
there seem to be 2 problems with the ebuild:
the debug USE flag sets a variable ARDOUR_DEBUG, while the scons build system of Ardour 2.x is looking for DEBUG
even after manually fixing the above problem, at the end of the build process, before installation, a "strip" command runs, which i believe is removing all the debugging symbols from the compiled code regardless of whether the debug USE flag is set. unfortunately, i do not see where this stripping is set/unset in the ebuild. can anyone shed some light on this?