cvs commit: doc/en_US.ISO8859-1/books/faq book.sgml

Dmitry Morozovsky marck at rinet.ru
Sat Jul 5 08:57:35 UTC 2008


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:                                 marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the cvs-doc mailing list