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

Re: [MiNT] libjpeg



On Tue, 15 Jun 2010 13:28:26 , Miro Kropacek <miro.kropacek@gmail.com> wrote:
> > My plan was to remove the -g from the libjpeg makefile so that when
> > I rebuild the rpms they do not include the debug info.
> >
> > I'll try to do this a patch that is used by the rpm spec.
> >
> > Is this what everyone else does ?
> Surely not. It's not a good idea to remove -g from library, you cut an
> option to debug it for anyone who is using it (i.e. mainly programmers
> who link that library to their debug builds). Stripping must be done
> only on final executable, where you are more or less sure your product
> is stable and debugged (and therefore you don't need debug symbols).

Ok, I wasn't sure if strip was smart enough to strip everything.

My next question will be how do I build the source rpm ?

Peter