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

Bug#69487: the example for using nostrip in DEB_BUILD_OPTIONS is incorrect



On 23-Aug-00, 16:26 (CDT), Franklin Belew <frb@balance.wiw.org> wrote: 
> On Wed, Aug 23, 2000 at 02:59:39PM -0500, Steve Greenland wrote:
> > 
> > While I agree with the philosophy, this code snippet is wrong, as
> > it will add the "-s" iff DEB_BUILD_OPTIONS includes "debug" but not
> > "nostrip".
> > 
> This makes perfect sense, as when you strip a binary, you kill the
> symbol table and hence -g is useless

But if DEB_BUILD_OPTIONS is not defined, then INSTALL remains "install",
and the files are not stripped when installed (into debian/tmp),
which I don't think is the desired effect. (Note that the result of
"debian/rules build" is still the unstripped binary file(s).)

Steve

(Please don't cc me on list mail)



Reply to: