Thanks Rene.
I'll try.
The package is Asterisk (open source IP PBX version 1.6.x., asterisk.org)
When --disable-debug is used, it does not compile into binary saying "nm: no
debug symbols".
I think it's his issue but wanted to get a quick hack to  compile it.
I will investigate and let you know.


On Mon, Jun 21, 2010 at 4:34 PM, Rene Rebe <[email protected]> wrote:

> Hi Max,
>
> why does a package "require" to be built with debug symbols and such? The
> SDECFG variables are by nature for the whole system config and evaluated
> mostly before a package is built, so it is not all that easy to flip them
> back behind the build systems back. The easiest thing certainly is to just
> inject -g to the compiler to get debug symbols if that is all the package
> "needs".
>
> I still wonder why a package would need that, though.
>
> Regards,
>  René
>
> On Jun 19, 2010, at 9:39 PM, Max wrote:
>
> > Hello folks.
> > I have a special package that has to be build with SDECFG_DEBUG=1 while
> all the rest must be SDECFG_DEBUG=0.
> > I tried many tricks but cannot achieve my goal.
> > Please advise what to put in pkg.conf so that it would change
> SDECFG_DEBUG just for one package.
> > Thx.
> > -----------------------------------------------------------
> > If you wish to unsubscribe from this mailing, send mail to
> > [email protected] with a subject of: unsubscribe t2
>
> --
>  René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin
>  http://exactcode.com | http://t2-project.org | http://rene.rebe.de
>
>
----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to