[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 Mon, Aug 21, 2000 at 12:10:37AM +0200, Josip Rodin wrote:
> On Sun, Aug 20, 2000 at 04:24:09PM -0400, Ben Collins wrote:
> > > ifneq "$(findstring debug,$(DEB_BUILD_OPTIONS))" ""
> > >   CFLAGS += -g
> > > endif
> > > ifeq "$(findstring nostrip,$(DEB_BUILD_OPTIONS))" ""
> > >   INSTALL += -s
> > > endif
> > 
> > The nostrip check needs to be inside the debug check. Because of you are
> > not compiling with debugging turned on, there's no reason to not strip the
> > binaries.
> 
> Same difference...

Not really. Seperating them does not show their relationship. Obviously
nostrip is useless unless you have debugging turned on. The example is
correct in how it did this, and that much should not change.

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: