[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#43787: PROPOSAL] changing policy on compiling with -g .. a better way



Ben Collins <bcollins@debian.org> writes:

> On Wed, Sep 01, 1999 at 04:47:37PM -0700, Chris Waters wrote:
> > A simpler (though less comprehensive) solution would be to allow some
> > way to pass the -g flag explicitly, through standardized variables.
> > Something like:
> > 
> >   CC_DEBUG=-g dpkg-buildpackage

> This is possible with this setup already:

> DEB_BUILD_OPTIONS=debug dpkg-buildpackage

Yes, yes, yes.  The syntax of how to invoke it was not the important
part.  But something like CC_DEBUG would use simple variable
substitution, not complex (and unportable) `if' tests and substring
extractions.  The CC_DEBUG approach might help avoid dependencies on
Gmake.

OTOH, one would need another option for install, and this approach
wouldn't be as general.  But it would certainly be simpler.  *shrug*
-- 
Chris Waters   xtifr@dsp.net | I have a truly elegant proof of the
      or    xtifr@debian.org | above, but it is too long to fit into
http://www.dsp.net/xtifr     | this .signature file.


Reply to: