On Sat, 5 Jul 2008, Gabor PALI wrote:

GP> > cd /usr/src/usr.sbin/ppp env DEBUG_FLAGS='-g' make clean env
GP> > DEBUG_FLAGS='-g' make install
GP> 
GP> 
GP> However, I think CFLAGS still can be used for inclusion of debug
GP> symbols, although your env(1) based solution is a good (and very
GP> elegant!) idea for ones who do not want to modify their /etc/make.conf
GP> every time.

Yep, make <target> DEBUG_FLAGS=... is very useful. IF you want to test some 
binary, you can add `DEBUG_FLAGS?=whatever' line to Makefile withouth much 
trouble to other parts of system.


Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 [EMAIL PROTECTED] ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- [EMAIL PROTECTED] ***
------------------------------------------------------------------------
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to